Compute Engine v1 API - Class AllocationSpecificSKUReservation (2.12.0)

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

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

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

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

AssuredCount

public long AssuredCount { get; set; }

[Output Only] Indicates how many instances are actually usable currently.

Property Value
TypeDescription
long

Count

public long Count { get; set; }

Specifies the number of resources that are allocated.

Property Value
TypeDescription
long

HasAssuredCount

public bool HasAssuredCount { get; }

Gets whether the "assured_count" field is set

Property Value
TypeDescription
bool

HasCount

public bool HasCount { get; }

Gets whether the "count" field is set

Property Value
TypeDescription
bool

HasInUseCount

public bool HasInUseCount { get; }

Gets whether the "in_use_count" field is set

Property Value
TypeDescription
bool

HasSourceInstanceTemplate

public bool HasSourceInstanceTemplate { get; }

Gets whether the "source_instance_template" field is set

Property Value
TypeDescription
bool

InUseCount

public long InUseCount { get; set; }

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

Property Value
TypeDescription
long

InstanceProperties

public AllocationSpecificSKUAllocationReservedInstanceProperties InstanceProperties { get; set; }

The instance properties for the reservation.

Property Value
TypeDescription
AllocationSpecificSKUAllocationReservedInstanceProperties

SourceInstanceTemplate

public string SourceInstanceTemplate { get; set; }

Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate

Property Value
TypeDescription
string