Compute Engine v1 API - Class AllocationAggregateReservation (3.0.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
Name Description
other AllocationAggregateReservation

Properties

HasVmFamily

public bool HasVmFamily { get; }

Gets whether the "vm_family" field is set

Property Value
Type Description
bool

HasWorkloadType

public bool HasWorkloadType { get; }

Gets whether the "workload_type" field is set

Property Value
Type Description
bool

InUseResources

public RepeatedField<AllocationAggregateReservationReservedResourceInfo> InUseResources { get; }

[Output only] List of resources currently in use.

Property Value
Type Description
RepeatedFieldAllocationAggregateReservationReservedResourceInfo

ReservedResources

public RepeatedField<AllocationAggregateReservationReservedResourceInfo> ReservedResources { get; }

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

Property Value
Type Description
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
Type Description
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
Type Description
string