Compute Engine v1 API - Class AllocationAggregateReservation (2.14.0)

public sealed class AllocationAggregateReservation : IMessage<AllocationAggregateReservation>, IEquatable<AllocationAggregateReservation>, IDeepCloneable<AllocationAggregateReservation>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class AllocationAggregateReservation.

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.

Inheritance

object > AllocationAggregateReservation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AllocationAggregateReservation()

public AllocationAggregateReservation()

AllocationAggregateReservation(AllocationAggregateReservation)

public AllocationAggregateReservation(AllocationAggregateReservation other)
Parameter
NameDescription
otherAllocationAggregateReservation

Properties

HasVmFamily

public bool HasVmFamily { get; }

Gets whether the "vm_family" field is set

Property Value
TypeDescription
bool

HasWorkloadType

public bool HasWorkloadType { get; }

Gets whether the "workload_type" field is set

Property Value
TypeDescription
bool

InUseResources

public RepeatedField<AllocationAggregateReservationReservedResourceInfo> InUseResources { get; }

[Output only] List of resources currently in use.

Property Value
TypeDescription
RepeatedFieldAllocationAggregateReservationReservedResourceInfo

ReservedResources

public RepeatedField<AllocationAggregateReservationReservedResourceInfo> ReservedResources { get; }

List of reserved resources (CPUs, memory, accelerators).

Property Value
TypeDescription
RepeatedFieldAllocationAggregateReservationReservedResourceInfo

VmFamily

public string VmFamily { get; set; }

The VM family that all instances scheduled against this reservation must belong to. Check the VmFamily enum for the list of possible values.

Property Value
TypeDescription
string

WorkloadType

public string WorkloadType { get; set; }

The workload type of the instances that will target this reservation. Check the WorkloadType enum for the list of possible values.

Property Value
TypeDescription
string