Skip to main content

options

Creates, updates, deletes, gets or lists an options resource.

Overview​

Nameoptions
TypeResource
Iddigitalocean.kubernetes.options

Fields​

The following fields are returned by SELECT queries:

The response will be a JSON object with a key called options which contains
regions, versions, and sizes objects listing the available options and
the matching slugs for use when creating a new cluster.

NameDatatypeDescription
regionsarray
sizesarray
versionsarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
kubernetes_list_optionsselectTo list the versions of Kubernetes available for use, the regions that support Kubernetes, and the available node sizes, send a GET request to /v2/kubernetes/options.

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 list the versions of Kubernetes available for use, the regions that support Kubernetes, and the available node sizes, send a GET request to /v2/kubernetes/options.

SELECT
regions,
sizes,
versions
FROM digitalocean.kubernetes.options
;