Enum ReservationAffinity.ConsumeReservationType (1.52.0)

public enum ReservationAffinity.ConsumeReservationType extends Enum<ReservationAffinity.ConsumeReservationType> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.compute.v1.ReservationAffinity.ConsumeReservationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ANY_RESERVATION

Consume any allocation available.

ANY_RESERVATION = 200008121;

ANY_RESERVATION_VALUE

Consume any allocation available.

ANY_RESERVATION = 200008121;

NO_RESERVATION

Do not consume from any allocated capacity.

NO_RESERVATION = 169322030;

NO_RESERVATION_VALUE

Do not consume from any allocated capacity.

NO_RESERVATION = 169322030;

SPECIFIC_RESERVATION

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

SPECIFIC_RESERVATION = 229889055;

SPECIFIC_RESERVATION_VALUE

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

SPECIFIC_RESERVATION = 229889055;

UNDEFINED_CONSUME_RESERVATION_TYPE

A value indicating that the enum field is not set.

UNDEFINED_CONSUME_RESERVATION_TYPE = 0;

UNDEFINED_CONSUME_RESERVATION_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_CONSUME_RESERVATION_TYPE = 0;

UNRECOGNIZED
UNSPECIFIED

UNSPECIFIED = 526786327;

UNSPECIFIED_VALUE

UNSPECIFIED = 526786327;

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