Skip to main content

volumes

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

Overview

Namevolumes
TypeResource
Idlinode.linode.volumes

Fields

The following fields are returned by SELECT queries:

Returns an array of Block Storage Volumes attached to this Linode.

NameDatatypeDescription
dataarray
pageintegerRead-only The current page.
pagesintegerRead-only The total number of pages.
resultsintegerRead-only The total number of results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_linode_volumesselectpage, page_sizeView Block Storage Volumes attached to this Linode.

Learn more...

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

View Block Storage Volumes attached to this Linode.

Learn more...

Learn more...

SELECT
data,
page,
pages,
results
FROM linode.linode.volumes
WHERE page = '{{ page }}'
AND page_size = '{{ page_size }}';