types
Creates, updates, deletes, gets or lists a types
resource.
Overview
Name | types |
Type | Resource |
Id | linode.databases.types |
Fields
The following fields are returned by SELECT
queries:
- get_databases_type
- get_databases_types
Returns a single Managed Databases type.
Name | Datatype | Description |
---|---|---|
id | string | Read-only The ID representing the Managed Database node plan type. (example: g6-nanode-1) |
class | string | The compute class category. (example: nanode) |
disk | integer | The amount of disk space set aside for Databases of this plan type. The value is represented in megabytes. |
engines | object | Information for the supported third-party databases that can be used with Managed Databases. |
label | string | Read-only A human-readable string that describes each plan type. For display purposes only. (example: DBaaS - Nanode 1GB) |
memory | integer | The amount of RAM allocated to Database created of this plan type. The value is represented in megabytes. |
vcpus | integer | The number of CPUs allocated to databases of this plan type. |
Returns a paginated list of all Managed Databases types.
Name | Datatype | Description |
---|---|---|
id | string | Read-only The ID representing the Managed Database node plan type. (example: g6-nanode-1) |
class | string | The compute class category. (example: nanode) |
disk | integer | The amount of disk space set aside for Databases of this plan type. The value is represented in megabytes. |
engines | object | Information for the supported third-party databases that can be used with Managed Databases. |
label | string | Read-only A human-readable string that describes each plan type. For display purposes only. (example: DBaaS - Nanode 1GB) |
memory | integer | The amount of RAM allocated to Database created of this plan type. The value is represented in megabytes. |
vcpus | integer | The number of CPUs allocated to databases of this plan type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_databases_type | select | page , page_size | 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... | |
get_databases_types | select | page , page_size | Display 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.
Name | Datatype | Description |
---|---|---|
page | integer | The page of a collection to return. |
page_size | integer | The number of items to return per page. |
SELECT
examples
- get_databases_type
- get_databases_types
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 }}';
Display 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...
SELECT
id,
class,
disk,
engines,
label,
memory,
vcpus
FROM linode.databases.types
WHERE page = '{{ page }}'
AND page_size = '{{ page_size }}';