Skip to main content

droplet_neighbor_ids

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

Overview

Namedroplet_neighbor_ids
TypeResource
Iddigitalocean.compute.droplet_neighbor_ids

Fields

The following fields are returned by SELECT queries:

A JSON object with an neighbor_ids key.

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
droplets_list_neighbors_idsselectTo 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.

NameDatatypeDescription

SELECT examples

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;