Show / Hide Table of Contents

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.

Inheritance
System.Object
MachineType
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Collections.Generic.IList<MachineType.AcceleratorsData>

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
System.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
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Int32>

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
System.Nullable<System.UInt64>

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
System.Nullable<System.Int32>

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
System.Nullable<System.Boolean>

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
System.String

MaximumPersistentDisks

[Output Only] Maximum persistent disks allowed.

Declaration
[JsonProperty("maximumPersistentDisks")]
public virtual int? MaximumPersistentDisks { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MaximumPersistentDisksSizeGb

[Output Only] Maximum total persistent disks size (GB) allowed.

Declaration
[JsonProperty("maximumPersistentDisksSizeGb")]
public virtual long? MaximumPersistentDisksSizeGb { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

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
System.Nullable<System.Int32>

Name

[Output Only] Name of the resource.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.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
System.Collections.Generic.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
System.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
System.String

Implements

IDirectResponseSchema
In This Article
Back to top