Compute Engine v1 API - Class InstanceConsumptionInfo (2.15.0)

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

Inheritance

object > InstanceConsumptionInfo

Namespace

Google.Cloud.Compute.V1

Assembly

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
int

HasGuestCpus

public bool HasGuestCpus { get; }

Gets whether the "guest_cpus" field is set

Property Value
Type Description
bool

HasLocalSsdGb

public bool HasLocalSsdGb { get; }

Gets whether the "local_ssd_gb" field is set

Property Value
Type Description
bool

HasMemoryMb

public bool HasMemoryMb { get; }

Gets whether the "memory_mb" field is set

Property Value
Type Description
bool

HasMinNodeCpus

public bool HasMinNodeCpus { get; }

Gets whether the "min_node_cpus" field is set

Property Value
Type Description
bool

LocalSsdGb

public int LocalSsdGb { get; set; }

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

Property Value
Type Description
int

MemoryMb

public int MemoryMb { get; set; }

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

Property Value
Type Description
int

MinNodeCpus

public int MinNodeCpus { get; set; }

The minimal guaranteed number of virtual CPUs that are reserved.

Property Value
Type Description
int