resources
Overview
Name | resources |
Type | Resource |
Id | digitalocean.projects.resources |
Fields
Name | Datatype | Description |
---|---|---|
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. |
assigned_at | string | A time value given in ISO8601 combined date and time format that represents when the project was created. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_resources | SELECT | project_id | To list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources . |
_list_resources | EXEC | project_id | To list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources . |
assign_resources | EXEC | project_id | To assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources . |