Compute V1 Client - Class ReservationMode (2.3.0)

Reference documentation and code samples for the Compute V1 Client class ReservationMode.

The reservation mode which determines reservation-termination behavior and expected pricing.

Protobuf type google.cloud.compute.v1.FutureReservation.ReservationMode

Namespace

Google \ Cloud \ Compute \ V1 \ FutureReservation

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_RESERVATION_MODE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_RESERVATION_MODE = 0;

CALENDAR

Value: 67431230

The delivered reservations will delivered at specified start time and terminated at specified end time along with terminating the VMs running on it.

Generated from protobuf enum CALENDAR = 67431230;

PBDEFAULT

Value: 115302945

The delivered reservations do not terminate VMs at the end of reservations. This is default mode.

Generated from protobuf enum DEFAULT = 115302945;

RESERVATION_MODE_UNSPECIFIED

Value: 233810606

Generated from protobuf enum RESERVATION_MODE_UNSPECIFIED = 233810606;