Skip to main content

types

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

Overview

Nametypes
TypeResource
Idlinode.databases.types

Fields

The following fields are returned by SELECT queries:

Returns a single Managed Databases type.

NameDatatypeDescription
idstringRead-only The ID representing the Managed Database node plan type. (example: g6-nanode-1)
classstringThe compute class category. (example: nanode)
diskintegerThe amount of disk space set aside for Databases of this plan type. The value is represented in megabytes.
enginesobjectInformation for the supported third-party databases that can be used with Managed Databases.
labelstringRead-only A human-readable string that describes each plan type. For display purposes only. (example: DBaaS - Nanode 1GB)
memoryintegerThe amount of RAM allocated to Database created of this plan type. The value is represented in megabytes.
vcpusintegerThe number of CPUs allocated to databases of this plan type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_databases_typeselectpage, page_sizeDisplay the details of a single Managed Databases node type. The type and number of nodes determine the resources and price of a Managed Databases instance. Run the List Managed Databases type operation and store the id for the applicable database node type.

Learn more...
get_databases_typesselectpage, page_sizeDisplay all Managed Databases node types. The type and number of nodes determine the resources and price of a Managed Databases instance. Each database can have one node type. With a high availability database, all nodes are deployed according to the chosen type.

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
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples

Display the details of a single Managed Databases node type. The type and number of nodes determine the resources and price of a Managed Databases instance. Run the List Managed Databases type operation and store the id for the applicable database node type.

Learn more...

SELECT
id,
class,
disk,
engines,
label,
memory,
vcpus
FROM linode.databases.types
WHERE page = '{{ page }}'
AND page_size = '{{ page_size }}';