Compute Engine v1 API - Class InstanceConsumptionInfo (2.7.0)

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

Inheritance

object > InstanceConsumptionInfo

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceConsumptionInfo()

public InstanceConsumptionInfo()

InstanceConsumptionInfo(InstanceConsumptionInfo)

public InstanceConsumptionInfo(InstanceConsumptionInfo other)
Parameter
NameDescription
otherInstanceConsumptionInfo

Properties

GuestCpus

public int GuestCpus { get; set; }

The number of virtual CPUs that are available to the instance.

Property Value
TypeDescription
int

HasGuestCpus

public bool HasGuestCpus { get; }

Gets whether the "guest_cpus" field is set

Property Value
TypeDescription
bool

HasLocalSsdGb

public bool HasLocalSsdGb { get; }

Gets whether the "local_ssd_gb" field is set

Property Value
TypeDescription
bool

HasMemoryMb

public bool HasMemoryMb { get; }

Gets whether the "memory_mb" field is set

Property Value
TypeDescription
bool

HasMinNodeCpus

public bool HasMinNodeCpus { get; }

Gets whether the "min_node_cpus" field is set

Property Value
TypeDescription
bool

LocalSsdGb

public int LocalSsdGb { get; set; }

The amount of local SSD storage available to the instance, defined in GiB.

Property Value
TypeDescription
int

MemoryMb

public int MemoryMb { get; set; }

The amount of physical memory available to the instance, defined in MiB.

Property Value
TypeDescription
int

MinNodeCpus

public int MinNodeCpus { get; set; }

The minimal guaranteed number of virtual CPUs that are reserved.

Property Value
TypeDescription
int