default_resources
Creates, updates, deletes, gets or lists a default_resources
resource.
Overview
Name | default_resources |
Type | Resource |
Id | digitalocean.projects.default_resources |
Fields
Name | Datatype | Description |
---|---|---|
assigned_at | string | A time value given in ISO8601 combined date and time format that represents when the project was created. |
links | object | The links object contains the self object, which contains the resource relationship. |
status | string | The status of assigning and fetching the resources. |
urn | string | The uniform resource name (URN) for the resource in the format do:resource_type:resource_id. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_list_resources_default | SELECT |
| To list all your resources in your default project, send a GET request to /v2/projects/default/resources . |
projects_assign_resources_default | EXEC |
| To 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
;