Get K 8s Cluster
Get specified Kubernetes Cluster
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/tkgClusters/{urn}
COPY
Path Parameters
string
urn
Required
A URN corresponding to a Kubernetes cluster previously created by a POST to OpenAPI tkgClusters endpoint.
Responses
200
Returns Cluster of type(s) application/json;version=39.1
{
"kind": "string",
"apiVersion": "string",
"metadata": {
"metadata": {}
},
"spec": {
"spec": {}
},
"status": {
"status": {}
}
}
string
kind
Optional
kind
string
apiVersion
Optional
apiVersion
object
metadata
Optional
metadata
object
spec
Optional
spec
object
status
Optional
status
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/tkgClusters/{urn}
Availability
Added in 40.0.0-alpha
K8s Cluster Operations
GET
Query K 8s Clusters
POST
Create K 8s Cluster
GET
Get K 8s Cluster
PUT
Update K 8s Cluster
DELETE
Delete K 8s Cluster
POST
Generate Kubeconfig