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
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class MachineType : IDirectResponseSchema
Properties
Accelerators
[Output Only] A list of accelerator configurations assigned to this machine type.
Declaration
[JsonProperty("accelerators")]
public virtual IList<MachineType.AcceleratorsData> Accelerators { get; set; }
Property Value
Type | Description |
---|---|
IList<MachineType.AcceleratorsData> |
Architecture
[Output Only] The architecture of the machine type.
Declaration
[JsonProperty("architecture")]
public virtual string Architecture { get; set; }
Property Value
Type | Description |
---|---|
string |
CreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type | Description |
---|---|
string |
Deprecated
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
Declaration
[JsonProperty("deprecated")]
public virtual DeprecationStatus Deprecated { get; set; }
Property Value
Type | Description |
---|---|
DeprecationStatus |
Description
[Output Only] An optional textual description of the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GuestCpus
[Output Only] The number of virtual CPUs that are available to the instance.
Declaration
[JsonProperty("guestCpus")]
public virtual int? GuestCpus { get; set; }
Property Value
Type | Description |
---|---|
int? |
Id
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
ImageSpaceGb
[Deprecated] This property is deprecated and will never be populated with any relevant values.
Declaration
[JsonProperty("imageSpaceGb")]
public virtual int? ImageSpaceGb { get; set; }
Property Value
Type | Description |
---|---|
int? |
IsSharedCpu
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
Declaration
[JsonProperty("isSharedCpu")]
public virtual bool? IsSharedCpu { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Kind
[Output Only] The type of the resource. Always compute#machineType for machine types.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MaximumPersistentDisks
[Output Only] Maximum persistent disks allowed.
Declaration
[JsonProperty("maximumPersistentDisks")]
public virtual int? MaximumPersistentDisks { get; set; }
Property Value
Type | Description |
---|---|
int? |
MaximumPersistentDisksSizeGb
[Output Only] Maximum total persistent disks size (GB) allowed.
Declaration
[JsonProperty("maximumPersistentDisksSizeGb")]
public virtual long? MaximumPersistentDisksSizeGb { get; set; }
Property Value
Type | Description |
---|---|
long? |
MemoryMb
[Output Only] The amount of physical memory available to the instance, defined in MB.
Declaration
[JsonProperty("memoryMb")]
public virtual int? MemoryMb { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
[Output Only] Name of the resource.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ScratchDisks
[Output Only] A list of extended scratch disks assigned to the instance.
Declaration
[JsonProperty("scratchDisks")]
public virtual IList<MachineType.ScratchDisksData> ScratchDisks { get; set; }
Property Value
Type | Description |
---|---|
IList<MachineType.ScratchDisksData> |
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
Zone
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type | Description |
---|---|
string |