regions
Creates, updates, deletes, gets or lists a regions
resource.
Overview
Name | regions |
Type | Resource |
Id | digitalocean.apps.regions |
Fields
The following fields are returned by SELECT
queries:
- apps_list_regions
A JSON object with key regions
Name | Datatype | Description |
---|---|---|
continent | string | (title: The continent that this region is in, example: europe) |
data_centers | array | (title: Data centers that are in this region) |
default | boolean | Whether or not the region is presented as the default. |
disabled | boolean | (title: Whether or not the region is open for new apps) |
flag | string | (title: The flag of this region, example: ams) |
label | string | (title: A human-readable name of the region, example: ams) |
reason | string | (title: Reason that this region is not available, example: to crowded) |
slug | string | (title: The slug form of the region name, example: basic) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
apps_list_regions | select | List 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.
Name | Datatype | Description |
---|
SELECT
examples
- apps_list_regions
List all regions supported by App Platform.
SELECT
continent,
data_centers,
default,
disabled,
flag,
label,
reason,
slug
FROM digitalocean.apps.regions;