Skip to main content

availability

Creates, updates, deletes, gets or lists an availability resource.

Overview

Nameavailability
TypeResource
Idlinode.regions.availability

Fields

The following fields are returned by SELECT queries:

Compute instance availability information by Type and Region.

NameDatatypeDescription
availablebooleanFilterable Whether the compute instance type is available in the region.
planstringFilterable The compute instance Type ID. (example: gpu-rtx6000-1.1)
regionstringFilterable The Region ID. (example: us-east)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectregionIdReturns availability data for a single Region.

Learn more...
listselectReturns availability data for all regions.

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
regionIdstringThe abbreviated value ("slug") for the applicable data center. Run the List regions operation to view the slug for each data center.

SELECT examples

Returns availability data for a single Region.

Learn more...

SELECT
available,
plan,
region
FROM linode.regions.availability
WHERE regionId = '{{ regionId }}' -- required
;