public sealed class InstanceConsumptionInfo : IMessage<InstanceConsumptionInfo>, IEquatable<InstanceConsumptionInfo>, IDeepCloneable<InstanceConsumptionInfo>, IBufferMessage, IMessage
Implements
IMessage<InstanceConsumptionInfo>, IEquatable<InstanceConsumptionInfo>, IDeepCloneable<InstanceConsumptionInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InstanceConsumptionInfo()
public InstanceConsumptionInfo()
InstanceConsumptionInfo(InstanceConsumptionInfo)
public InstanceConsumptionInfo(InstanceConsumptionInfo other)
Parameter | |
---|---|
Name | Description |
other | InstanceConsumptionInfo |
Properties
GuestCpus
public int GuestCpus { get; set; }
The number of virtual CPUs that are available to the instance.
Property Value | |
---|---|
Type | Description |
Int32 |
HasGuestCpus
public bool HasGuestCpus { get; }
Gets whether the "guest_cpus" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasLocalSsdGb
public bool HasLocalSsdGb { get; }
Gets whether the "local_ssd_gb" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMemoryMb
public bool HasMemoryMb { get; }
Gets whether the "memory_mb" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMinNodeCpus
public bool HasMinNodeCpus { get; }
Gets whether the "min_node_cpus" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
LocalSsdGb
public int LocalSsdGb { get; set; }
The amount of local SSD storage available to the instance, defined in GiB.
Property Value | |
---|---|
Type | Description |
Int32 |
MemoryMb
public int MemoryMb { get; set; }
The amount of physical memory available to the instance, defined in MiB.
Property Value | |
---|---|
Type | Description |
Int32 |
MinNodeCpus
public int MinNodeCpus { get; set; }
The minimal guaranteed number of virtual CPUs that are reserved.
Property Value | |
---|---|
Type | Description |
Int32 |