Skip to main content

regions

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

Overview

Nameregions
TypeResource
Iddigitalocean.apps.regions

Fields

The following fields are returned by SELECT queries:

A JSON object with key regions

NameDatatypeDescription
continentstring (title: The continent that this region is in, example: europe)
data_centersarray (title: Data centers that are in this region)
defaultbooleanWhether or not the region is presented as the default.
disabledboolean (title: Whether or not the region is open for new apps)
flagstring (title: The flag of this region, example: ams)
labelstring (title: A human-readable name of the region, example: ams)
reasonstring (title: Reason that this region is not available, example: to crowded)
slugstring (title: The slug form of the region name, example: basic)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
apps_list_regionsselectList all regions supported by App Platform.

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

SELECT examples

List all regions supported by App Platform.

SELECT
continent,
data_centers,
default,
disabled,
flag,
label,
reason,
slug
FROM digitalocean.apps.regions;