droplet_neighbor_ids
Creates, updates, deletes, gets or lists a droplet_neighbor_ids
resource.
Overview
Name | droplet_neighbor_ids |
Type | Resource |
Id | digitalocean.compute.droplet_neighbor_ids |
Fields
The following fields are returned by SELECT
queries:
- droplets_list_neighbors_ids
A JSON object with an neighbor_ids
key.
Name | Datatype | Description |
---|
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
droplets_list_neighbors_ids | select | To retrieve a list of all Droplets that are co-located on the same physical hardware, send a GET request to /v2/reports/droplet_neighbors_ids .The results will be returned as a JSON object with a key of neighbor_ids .This will be set to an array of arrays. Each array will contain a set of Droplet IDs for Droplets that share a physical server. An empty array indicates that all Droplets associated with your account are located on separate physical hardware. |
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
- droplets_list_neighbors_ids
To retrieve a list of all Droplets that are co-located on the same physical
hardware, send a GET request to /v2/reports/droplet_neighbors_ids
.
The results will be returned as a JSON object with a key of neighbor_ids
.
This will be set to an array of arrays. Each array will contain a set of
Droplet IDs for Droplets that share a physical server. An empty array
indicates that all Droplets associated with your account are located on
separate physical hardware.
SELECT
*
FROM digitalocean.compute.droplet_neighbor_ids;