availability
Creates, updates, deletes, gets or lists an availability resource.
Overview
| Name | availability |
| Type | Resource |
| Id | linode.regions.availability |
Fields
The following fields are returned by SELECT queries:
- get
- list
Compute instance availability information by Type and Region.
| Name | Datatype | Description |
|---|---|---|
available | boolean | Filterable Whether the compute instance type is available in the region. |
plan | string | Filterable The compute instance Type ID. (example: gpu-rtx6000-1.1) |
region | string | Filterable The Region ID. (example: us-east) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | regionId | Returns availability data for a single Region. Learn more... | |
list | select | Returns 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.
| Name | Datatype | Description |
|---|---|---|
regionId | string | The abbreviated value ("slug") for the applicable data center. Run the List regions operation to view the slug for each data center. |
SELECT examples
- get
- list
Returns availability data for a single Region.
Learn more...
SELECT
available,
plan,
region
FROM linode.regions.availability
WHERE regionId = '{{ regionId }}' -- required
;
Returns availability data for all regions.
Learn more...
SELECT
available,
plan,
region
FROM linode.regions.availability
;