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
IMessage<MachineType>, IEquatable<MachineType>, IDeepCloneable<MachineType>, 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 |
RepeatedField<Accelerators> |
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 |
Int32 |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasGuestCpus
public bool HasGuestCpus { get; }
Gets whether the "guest_cpus" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasImageSpaceGb
public bool HasImageSpaceGb { get; }
Gets whether the "image_space_gb" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasIsSharedCpu
public bool HasIsSharedCpu { get; }
Gets whether the "is_shared_cpu" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaximumPersistentDisks
public bool HasMaximumPersistentDisks { get; }
Gets whether the "maximum_persistent_disks" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMaximumPersistentDisksSizeGb
public bool HasMaximumPersistentDisksSizeGb { get; }
Gets whether the "maximum_persistent_disks_size_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 |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
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 |
UInt64 |
ImageSpaceGb
public int ImageSpaceGb { get; set; }
[Deprecated] This property is deprecated and will never be populated with any relevant values.
Property Value | |
---|---|
Type | Description |
Int32 |
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 |
Boolean |
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 |
Int32 |
MaximumPersistentDisksSizeGb
public long MaximumPersistentDisksSizeGb { get; set; }
[Output Only] Maximum total persistent disks size (GB) allowed.
Property Value | |
---|---|
Type | Description |
Int64 |
MemoryMb
public int MemoryMb { get; set; }
[Output Only] The amount of physical memory available to the instance, defined in MB.
Property Value | |
---|---|
Type | Description |
Int32 |
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 |
RepeatedField<ScratchDisks> |
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 |