Query K 8s Clusters
Retrieves all K8s clusters
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/tkgClusters
COPY
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Page to fetch, zero offset.
integer
pageSize
Required
Results per page to fetch.
Responses
200
Returns Clusters of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineClusters1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"kind": "string",
"apiVersion": "string",
"metadata": {
"metadata": {}
},
"spec": {
"spec": {}
},
"status": {
"status": {}
}
}
]
}
Availability
Added in 40.0.0-alpha
K8s Cluster Operations
POST
Create K 8s Cluster
DELETE
Delete K 8s Cluster
POST
Generate Kubeconfig
GET
Get K 8s Cluster
GET
Query K 8s Clusters
PUT
Update K 8s Cluster