public sealed class MachineType : IMessage<MachineType>, IEquatable<MachineType>, IDeepCloneable<MachineType>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class MachineType.
Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.
Implements
IMessageMachineType, IEquatableMachineType, IDeepCloneableMachineType, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
MachineType()
public MachineType()
MachineType(MachineType)
public MachineType(MachineType other)
Parameter | |
---|---|
Name | Description |
other |
MachineType |
Properties
Accelerators
public RepeatedField<Accelerators> Accelerators { get; }
[Output Only] A list of accelerator configurations assigned to this machine type.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAccelerators |
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] Creation timestamp in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
string |
Deprecated
public DeprecationStatus Deprecated { get; set; }
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
Property Value | |
---|---|
Type | Description |
DeprecationStatus |
Description
public string Description { get; set; }
[Output Only] An optional textual description of the resource.
Property Value | |
---|---|
Type | Description |
string |
GuestCpus
public int GuestCpus { get; set; }
[Output Only] The number of virtual CPUs that are available to the instance.
Property Value | |
---|---|
Type | Description |
int |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasGuestCpus
public bool HasGuestCpus { get; }
Gets whether the "guest_cpus" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasImageSpaceGb
public bool HasImageSpaceGb { get; }
Gets whether the "image_space_gb" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasIsSharedCpu
public bool HasIsSharedCpu { get; }
Gets whether the "is_shared_cpu" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaximumPersistentDisks
public bool HasMaximumPersistentDisks { get; }
Gets whether the "maximum_persistent_disks" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaximumPersistentDisksSizeGb
public bool HasMaximumPersistentDisksSizeGb { get; }
Gets whether the "maximum_persistent_disks_size_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 |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
bool |
Id
public ulong Id { get; set; }
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Property Value | |
---|---|
Type | Description |
ulong |
ImageSpaceGb
public int ImageSpaceGb { get; set; }
[Deprecated] This property is deprecated and will never be populated with any relevant values.
Property Value | |
---|---|
Type | Description |
int |
IsSharedCpu
public bool IsSharedCpu { get; set; }
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
Property Value | |
---|---|
Type | Description |
bool |
Kind
public string Kind { get; set; }
[Output Only] The type of the resource. Always compute#machineType for machine types.
Property Value | |
---|---|
Type | Description |
string |
MaximumPersistentDisks
public int MaximumPersistentDisks { get; set; }
[Output Only] Maximum persistent disks allowed.
Property Value | |
---|---|
Type | Description |
int |
MaximumPersistentDisksSizeGb
public long MaximumPersistentDisksSizeGb { get; set; }
[Output Only] Maximum total persistent disks size (GB) allowed.
Property Value | |
---|---|
Type | Description |
long |
MemoryMb
public int MemoryMb { get; set; }
[Output Only] The amount of physical memory available to the instance, defined in MB.
Property Value | |
---|---|
Type | Description |
int |
Name
public string Name { get; set; }
[Output Only] Name of the resource.
Property Value | |
---|---|
Type | Description |
string |
ScratchDisks
public RepeatedField<ScratchDisks> ScratchDisks { get; }
[Output Only] A list of extended scratch disks assigned to the instance.
Property Value | |
---|---|
Type | Description |
RepeatedFieldScratchDisks |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
string |
Zone
public string Zone { get; set; }
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
Property Value | |
---|---|
Type | Description |
string |