Skip to main content

default_resources

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

Overview

Namedefault_resources
TypeResource
Iddigitalocean.projects.default_resources

Fields

NameDatatypeDescription
assigned_atstringA time value given in ISO8601 combined date and time format that represents when the project was created.
linksobjectThe links object contains the self object, which contains the resource relationship.
statusstringThe status of assigning and fetching the resources.
urnstringThe uniform resource name (URN) for the resource in the format do:resource_type:resource_id.

Methods

NameAccessible byRequired ParamsDescription
projects_list_resources_defaultSELECTTo list all your resources in your default project, send a GET request to /v2/projects/default/resources.
projects_assign_resources_defaultEXECTo assign resources to your default project, send a POST request to /v2/projects/default/resources.

SELECT examples

To list all your resources in your default project, send a GET request to /v2/projects/default/resources.

SELECT
assigned_at,
links,
status,
urn
FROM digitalocean.projects.default_resources
;