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.
Values: UNDEFINED_VM_FAMILY (0): A value indicating that the enum field is not set. VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L (108020067): No description available. VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP (18705267): No description available. VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P (517384407): No description available.
WorkloadType
WorkloadType(value)
The workload type of the instances that will target this reservation.
Values: UNDEFINED_WORKLOAD_TYPE (0): A value indicating that the enum field is not set. BATCH (62971674): Reserved resources will be optimized for BATCH workloads, such as ML training. SERVING (17781740): Reserved resources will be optimized for SERVING workloads, such as ML inference. UNSPECIFIED (526786327): No description available.