api_endpoints
Creates, updates, deletes, gets or lists an api_endpoints resource.
Overview
| Name | api_endpoints |
| Type | Resource |
| Id | linode.lke.api_endpoints |
Fields
The following fields are returned by SELECT queries:
- list
Returns the Kubernetes API server endpoints for this cluster.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | Read-only A Kubernetes API server endpoint for this cluster. (example: https://192.0.2.1:6443) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | clusterId | List the Kubernetes API server endpoints for this cluster. Please note that it often takes 2-5 minutes before the endpoint is ready after first creating a new cluster. Learn more... Learn more... |
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 |
|---|---|---|
clusterId | string | ID of the Kubernetes cluster to look up. (example: {{clusterId}}) |
SELECT examples
- list
List the Kubernetes API server endpoints for this cluster. Please note that it often takes 2-5 minutes before the endpoint is ready after first creating a new cluster.
Learn more...
Learn more...
SELECT
endpoint
FROM linode.lke.api_endpoints
WHERE clusterId = '{{ clusterId }}' -- required
;