Specifies the reservations that this instance can consume from.
| JSON representation |
|---|
{
"consumeReservationType": enum ( |
| Fields | |
|---|---|
consumeReservationType |
Specifies the type of reservation from which this instance can consume resources:
(default),
, or
. See Consuming reserved instances for examples. |
key |
Corresponds to the label key of a reservation resource. To target a
by name, specify
as the key and specify the name of your reservation as its value. |
values[] |
Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or "projects/different-project/reservations/some-reservation-name" to target a shared reservation in the same zone but in a different project. |
Type
Indicates whether to consume from a reservation or not.
| Enums | |
|---|---|
UNSPECIFIED |
|
NO_RESERVATION |
Do not consume from any allocated capacity. |
ANY_RESERVATION |
Consume any allocation available. |
SPECIFIC_RESERVATION |
Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |