clusters_associated_resources
Creates, updates, deletes, gets or lists a clusters_associated_resources
resource.
Overview
Name | clusters_associated_resources |
Type | Resource |
Id | digitalocean.kubernetes.clusters_associated_resources |
Fields
Name | Datatype | Description |
---|---|---|
load_balancers | array | A list of names and IDs for associated load balancers that can be destroyed along with the cluster. |
volume_snapshots | array | A list of names and IDs for associated volume snapshots that can be destroyed along with the cluster. |
volumes | array | A list of names and IDs for associated volumes that can be destroyed along with the cluster. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
kubernetes_list_associated_resources | SELECT | cluster_id | To list the associated billable resources that can be destroyed along with a cluster, send a GET request to the /v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources endpoint. |
SELECT
examples
To list the associated billable resources that can be destroyed along with a cluster, send a GET request to the /v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources
endpoint.
SELECT
load_balancers,
volume_snapshots,
volumes
FROM digitalocean.kubernetes.clusters_associated_resources
WHERE cluster_id = '{{ cluster_id }}';