public enum ReservationAffinity.ConsumeReservationType extends Enum<ReservationAffinity.ConsumeReservationType> implements ProtocolMessageEnumSpecifies 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.
Protobuf enum google.cloud.compute.v1.ReservationAffinity.ConsumeReservationType
Implements
ProtocolMessageEnumStatic Fields
| Name | Description |
| ANY_RESERVATION | Consume any allocation available. |
| ANY_RESERVATION_VALUE | Consume any allocation available. |
| NO_RESERVATION | Do not consume from any allocated capacity. |
| NO_RESERVATION_VALUE | 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_RESERVATION_VALUE | Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |
| UNDEFINED_CONSUME_RESERVATION_TYPE | A value indicating that the enum field is not set. |
| UNDEFINED_CONSUME_RESERVATION_TYPE_VALUE | A value indicating that the enum field is not set. |
| UNRECOGNIZED | |
| UNSPECIFIED |
|
| UNSPECIFIED_VALUE |
|
Static Methods
| Name | Description |
| forNumber(int value) | |
| getDescriptor() | |
| internalGetValueMap() | |
| valueOf(Descriptors.EnumValueDescriptor desc) | |
| valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
| valueOf(String name) | |
| values() |
Methods
| Name | Description |
| getDescriptorForType() | |
| getNumber() | |
| getValueDescriptor() |