droplets_associated_resources
Creates, updates, deletes, gets or lists a droplets_associated_resources
resource.
Overview
Name | droplets_associated_resources |
Type | Resource |
Id | digitalocean.droplets.droplets_associated_resources |
Fields
Name | Datatype | Description |
---|---|---|
floating_ips | array | |
reserved_ips | array | |
snapshots | array | |
volume_snapshots | array | |
volumes | array |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
droplets_list_associated_resources | SELECT | droplet_id | To list the associated billable resources that can be destroyed along with a Droplet, send a GET request to the /v2/droplets/$DROPLET_ID/destroy_with_associated_resources endpoint. The response will be a JSON object containing snapshots , volumes , and volume_snapshots keys. Each will be set to an array of objects containing information about the associated resources. |
SELECT
examples
To list the associated billable resources that can be destroyed along with a Droplet, send a GET request to the /v2/droplets/$DROPLET_ID/destroy_with_associated_resources
endpoint. The response will be a JSON object containing snapshots
, volumes
, and volume_snapshots
keys. Each will be set to an array of objects containing information about the associated resources.
SELECT
floating_ips,
reserved_ips,
snapshots,
volume_snapshots,
volumes
FROM digitalocean.droplets.droplets_associated_resources
WHERE droplet_id = '{{ droplet_id }}';