Class AllocationAggregateReservation (1.19.2)

AllocationAggregateReservation(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
in_use_resources MutableSequence[google.cloud.compute_v1.types.AllocationAggregateReservationReservedResourceInfo]
[Output only] List of resources currently in use.
reserved_resources MutableSequence[google.cloud.compute_v1.types.AllocationAggregateReservationReservedResourceInfo]
List of reserved resources (CPUs, memory, accelerators).
vm_family str
The VM family that all instances scheduled against this reservation must belong to. Check the VmFamily enum for the list of possible values. This field is a member of oneof_ _vm_family.
workload_type str
The workload type of the instances that will target this reservation. Check the WorkloadType enum for the list of possible values. This field is a member of oneof_ _workload_type.

Classes

VmFamily

VmFamily(value)

The VM family that all instances scheduled against this reservation must belong to.

WorkloadType

WorkloadType(value)

The workload type of the instances that will target this reservation.