Skip to main content

kernels

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

Overview​

Namekernels
TypeResource
Idlinode.linode.kernels

Fields​

The following fields are returned by SELECT queries:

A single Kernel object.

NameDatatypeDescription
idstringRead-only The unique ID of this Kernel. (example: linode/latest-64bit)
architecturestringFilterable, Read-only The architecture of this Kernel. (x86_64, i386) (example: x86_64)
builtstring (date-time)Read-only The date on which this Kernel was built. (example: 2018-01-01T00:01:01)
deprecatedbooleanFilterable, Read-only If this Kernel is marked as deprecated, this field has a value of true; otherwise, this field is false.
kvmbooleanFilterable, Read-only If this Kernel is suitable for KVM Linodes.
labelstringFilterable, Read-only The friendly name of this Kernel. (example: Latest 64 bit (4.15.7-x86_64-linode102))
pvopsbooleanFilterable, Read-only If this Kernel is suitable for paravirtualized operations.
versionstringFilterable, Read-only Linux Kernel version. (example: 4.15.7)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectkernelIdReturns information about a single Kernel.

Learn more...
listselectpage, page_sizeLists available Kernels.

Due to the extensive list of available kernels, please keep pagination controls in mind when managing responses to this operation.

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
kernelIdstringID of the Kernel to look up. (example: {{kernelId}})
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples​

Returns information about a single Kernel.

Learn more...

SELECT
id,
architecture,
built,
deprecated,
kvm,
label,
pvops,
version
FROM linode.linode.kernels
WHERE kernelId = '{{ kernelId }}' -- required
;