Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MachineType

import type { MachineType } from "https://googleapis.deno.dev/v1/compute:v1.ts";

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.

interface MachineType {
accelerators?: {
guestAcceleratorCount?: number;
guestAcceleratorType?: string;
}
[]
;
creationTimestamp?: string;
deprecated?: DeprecationStatus;
description?: string;
guestCpus?: number;
id?: bigint;
imageSpaceGb?: number;
isSharedCpu?: boolean;
kind?: string;
maximumPersistentDisks?: number;
maximumPersistentDisksSizeGb?: bigint;
memoryMb?: number;
name?: string;
scratchDisks?: {
diskGb?: number;
}
[]
;
selfLink?: string;
zone?: string;
}

§Properties

§
accelerators?: {
guestAcceleratorCount?: number;
guestAcceleratorType?: string;
}
[]
[src]

[Output Only] A list of accelerator configurations assigned to this machine type.

§
creationTimestamp?: string
[src]

[Output Only] Creation timestamp in RFC3339 text format.

§

[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.

§
description?: string
[src]

[Output Only] An optional textual description of the resource.

§
guestCpus?: number
[src]

[Output Only] The number of virtual CPUs that are available to the instance.

§
id?: bigint
[src]

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

§
imageSpaceGb?: number
[src]

[Deprecated] This property is deprecated and will never be populated with any relevant values.

§
isSharedCpu?: boolean
[src]

[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.

§
kind?: string
[src]

[Output Only] The type of the resource. Always compute#machineType for machine types.

§
maximumPersistentDisks?: number
[src]

[Output Only] Maximum persistent disks allowed.

§
maximumPersistentDisksSizeGb?: bigint
[src]

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

§
memoryMb?: number
[src]

[Output Only] The amount of physical memory available to the instance, defined in MB.

§
name?: string
[src]

[Output Only] Name of the resource.

§
scratchDisks?: {
diskGb?: number;
}
[]
[src]

[Output Only] A list of extended scratch disks assigned to the instance.

§
zone?: string
[src]

[Output Only] The name of the zone where the machine type resides, such as us-central1-a.