Skip to main content

types

Creates, updates, deletes, gets or lists a types resource.

Overview

Nametypes
TypeResource
Idlinode.linode.types

Fields

The following fields are returned by SELECT queries:

A single Linode Type.

NameDatatypeDescription
idstringRead-only The ID representing the Linode type. (example: g6-standard-2)
addonsobjectRead-only Optional add-on services for Linodes and their associated cost.
classstringFilterable, Read-only The class of the Linode type. - nanode. These instances are good for low-duty workloads, where performance isn't critical. - standard. These instances are good for medium-duty workloads, and offer a good mix of performance, resources, and price. - dedicated. These instances are good for full-duty workloads where consistent performance is important. - premium (limited regions). This includes the features of a dedicated instance as well as the latest AMD EPYC™ CPUs. This ensures your applications are running on the latest hardware with consistently high performance. Only available in regions with "Premium Plans" in their capabilities. - gpu (limited regions). Linodes with dedicated NVIDIA Quadro® RTX 6000 GPUs accelerate highly specialized applications such as machine learning, AI, and video transcoding. Only available in regions with GPU Linodes in their capabilities. - accelerated (limited regions). These leverage the power of dedicated, application-specific integrated circuits (ASIC), starting with NETINT Video Processing Units (VPUs). They're ideal for video transcoding, media processing, and other compute-heavy workloads. Designed to offload specialized tasks, these instances deliver faster processing times and greater efficiency than traditional CPU-based solutions. Only available in regions with Accelerated in their capabilities. - highmem. High Memory instances favor RAM over other resources, and can be good for memory hungry use cases like caching and in-memory databases. All High Memory plans contain dedicated CPU cores. > 📘 > > - A nanode class is listed as a 1 GB Linode in Cloud Manager. The API, the CLI, and billing continue to refer to these as a Nanode. > > - A standard class is listed as a Shared Linode in Cloud Manager. The API, the CLI, and billing still refer to these as Standard. (nanode, standard, dedicated, premium, gpu, accelerated, highmem) (example: standard)
diskintegerFilterable, Read-only The Linode type's disk size in MB.
gpusintegerFilterable, Read-only The number of GPUs this Linode type offers.
labelstringFilterable, Read-only The display name for the Linode type. (example: Linode 4GB)
memoryintegerFilterable, Read-only Amount of RAM included in this Linode type.
network_outintegerFilterable, Read-only The Mbits outbound bandwidth allocation.
priceobjectRead-only The default cost of provisioning this Linode type. Prices are in U.S. dollars, broken down into hourly and monthly charges. Certain regions have different prices. For region-specific pricing, see region_prices.
region_pricesarray
successorstringRead-only After a mutate, the Linode is upgraded to this Linode type. If null, this Linode type can't be mutated.
transferintegerFilterable, Read-only The monthly outbound transfer amount in MB.
vcpusintegerFilterable, Read-only The number of VCPU cores this Linode type offers.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecttypeIdReturns information about a specific Linode Type, including pricing and specifications. This is used when creating or resizing Linodes.

Learn more...
listselectReturns Linode Types, including pricing and specifications for each Type. Use these when creating or resizing Linodes.

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
typeIdstringThe ID of the Linode Type to look up. (example: {{typeId}})

SELECT examples

Returns information about a specific Linode Type, including pricing and specifications. This is used when creating or resizing Linodes.

Learn more...

SELECT
id,
addons,
class,
disk,
gpus,
label,
memory,
network_out,
price,
region_prices,
successor,
transfer,
vcpus
FROM linode.linode.types
WHERE typeId = '{{ typeId }}' -- required
;