Regions v4.176.0
List regions
Lists the Regions available for Linode services. Not all services are guaranteed to be available in all Regions.
Authorizations
Request Samples
curl https://api.linode.com/v4/regions
linode-cli regions list
Response Samples
{
"data": [
{
"capabilities": [
"Linodes",
"NodeBalancers",
"Block Storage",
"Object Storage",
"Placement Groups"
],
"country": "us",
"id": "us-east",
"label": "Newark, NJ, USA",
"placement_group_limits": {
"maximum_linodes_per_pg": 5,
"maximum_pgs_per_customer": 10
},
"resolvers": {
"ipv4": "192.0.2.0,192.0.2.1",
"ipv6": "2001:0db8::,2001:0db8::1"
},
"status": "ok"
}
],
"page": 1,
"pages": 1,
"results": 1
}
{
"errors": [
{
"field": "fieldname",
"reason": "fieldname must be a valid value"
}
]
}
Responses
data | array
of objects
| ||||||||||||||||||||||
page | integer Read-only The current page. | ||||||||||||||||||||||
pages | integer Read-only The total number of pages. | ||||||||||||||||||||||
results | integer Read-only The total number of results. |
errors | array
of objects
|
List regions' availability
Returns availability data for all Regions.
Currently, this operation returns availability of select premium and GPU plans for select regions.
Authorizations
Request Samples
curl https://api.linode.com/v4/regions/availability
linode-cli regions list-avail
Response Samples
{
"data": [
{
"available": true,
"plan": "gpu-rtx6000-1.1",
"region": "us-east"
}
],
"page": 1,
"pages": 1,
"results": 1
}
{
"errors": [
{
"field": "fieldname",
"reason": "fieldname must be a valid value"
}
]
}
Responses
data | array
of objects
| ||||||
page | integer Read-only The current page. | ||||||
pages | integer Read-only The total number of pages. | ||||||
results | integer Read-only The total number of results. |
errors | array
of objects
|
Get a region
Returns a single Region.
Authorizations
Path Parameters
regionId | string RequiredID of the Region to look up. |
Request Samples
curl https://api.linode.com/v4/regions/us-east
linode-cli regions view us-east
Response Samples
{
"capabilities": [
"Linodes",
"NodeBalancers",
"Block Storage",
"Object Storage",
"Placement Groups"
],
"country": "us",
"id": "us-east",
"label": "Newark, NJ, USA",
"placement_group_limits": {
"maximum_linodes_per_pg": 5,
"maximum_pgs_per_customer": 10
},
"resolvers": {
"ipv4": "192.0.2.0,192.0.2.1",
"ipv6": "2001:0db8::,2001:0db8::1"
},
"status": "ok"
}
{
"errors": [
{
"field": "fieldname",
"reason": "fieldname must be a valid value"
}
]
}
Responses
capabilities | array
of strings Read-only A list of capabilities of this region. | ||||
country | string Read-only The country where this Region resides. | ||||
id | string Read-only The unique ID of this Region. | ||||
label | string Read-only Detailed location information for this Region, including city, state or region, and country. | ||||
placement_group_limits | object Read-only The limits for placement groups in this region.
| ||||
resolvers | object
| ||||
status | string Enum:
ok
outage Read-only This region’s current operational status. |
errors | array
of objects
|
Get a region's availability
Returns availability data for a single Region.
Authorizations
Path Parameters
regionId | string RequiredID of the Region to look up. |
Request Samples
curl https://api.linode.com/v4/regions/us-east/availability
linode-cli regions view-avail us-east
Response Samples
{
"available": true,
"plan": "gpu-rtx6000-1.1",
"region": "us-east"
}
{
"errors": [
{
"field": "fieldname",
"reason": "fieldname must be a valid value"
}
]
}
Responses
available | boolean Whether the compute instance type is available in the region. |
plan | string The compute instance Type ID. |
region | string The Region ID. |
errors | array
of objects
|