Class AllocationSpecificSKUReservation (1.1.0)

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

This reservation type allows to pre allocate specific instance configuration. Next ID: 5

Inheritance

Object > AllocationSpecificSKUReservation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AllocationSpecificSKUReservation()

public AllocationSpecificSKUReservation()

AllocationSpecificSKUReservation(AllocationSpecificSKUReservation)

public AllocationSpecificSKUReservation(AllocationSpecificSKUReservation other)
Parameter
NameDescription
otherAllocationSpecificSKUReservation

Properties

Count

public long Count { get; set; }

Specifies the number of resources that are allocated.

Property Value
TypeDescription
Int64

HasCount

public bool HasCount { get; }

Gets whether the "count" field is set

Property Value
TypeDescription
Boolean

HasInUseCount

public bool HasInUseCount { get; }

Gets whether the "in_use_count" field is set

Property Value
TypeDescription
Boolean

InstanceProperties

public AllocationSpecificSKUAllocationReservedInstanceProperties InstanceProperties { get; set; }

The instance properties for the reservation.

Property Value
TypeDescription
AllocationSpecificSKUAllocationReservedInstanceProperties

InUseCount

public long InUseCount { get; set; }

[Output Only] Indicates how many instances are in use.

Property Value
TypeDescription
Int64