Class AllocationAggregateReservation (0.1.8)

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
host_count int
Count of reserved hosts of specified VM family. The host has fixed number of accelerators based on the accelerator/vm-family selected. This field is a member of oneof_ _host_count.
in_use_host_count int
Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use. This field is a member of oneof_ _in_use_host_count.
in_use_instance_count int
Number of instances currently in use in this reservation. This field is a member of oneof_ _in_use_instance_count.
in_use_resources MutableSequence[google.cloud.compute_v1beta.types.AllocationAggregateReservationReservedResourceInfo]
[Output only] List of resources currently in use.
reserved_resources MutableSequence[google.cloud.compute_v1beta.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.