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
Implements
IMessageAllocationSpecificSKUReservation, IEquatableAllocationSpecificSKUReservation, IDeepCloneableAllocationSpecificSKUReservation, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
AllocationSpecificSKUReservation()
public AllocationSpecificSKUReservation()
AllocationSpecificSKUReservation(AllocationSpecificSKUReservation)
public AllocationSpecificSKUReservation(AllocationSpecificSKUReservation other)
Parameter | |
---|---|
Name | Description |
other | AllocationSpecificSKUReservation |
Properties
AssuredCount
public long AssuredCount { get; set; }
[Output Only] Indicates how many instances are actually usable currently.
Property Value | |
---|---|
Type | Description |
long |
Count
public long Count { get; set; }
Specifies the number of resources that are allocated.
Property Value | |
---|---|
Type | Description |
long |
HasAssuredCount
public bool HasAssuredCount { get; }
Gets whether the "assured_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasCount
public bool HasCount { get; }
Gets whether the "count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasInUseCount
public bool HasInUseCount { get; }
Gets whether the "in_use_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSourceInstanceTemplate
public bool HasSourceInstanceTemplate { get; }
Gets whether the "source_instance_template" field is set
Property Value | |
---|---|
Type | Description |
bool |
InstanceProperties
public AllocationSpecificSKUAllocationReservedInstanceProperties InstanceProperties { get; set; }
The instance properties for the reservation.
Property Value | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
InUseCount
public long InUseCount { get; set; }
[Output Only] Indicates how many instances are in use.
Property Value | |
---|---|
Type | Description |
long |
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 | |
---|---|
Type | Description |
string |