options
Creates, updates, deletes, gets or lists an options resource.
Overview
| Name | options |
| Type | Resource |
| Id | digitalocean.kubernetes.options |
Fields
The following fields are returned by SELECT queries:
- kubernetes_list_options
The response will be a JSON object with a key called options which containsregions, versions, and sizes objects listing the available options and
the matching slugs for use when creating a new cluster.
| Name | Datatype | Description |
|---|---|---|
regions | array | |
sizes | array | |
versions | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
kubernetes_list_options | select | 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. |
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
- kubernetes_list_options
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
;