Update K 8s Cluster

Update K 8s Cluster

Update the desired state of the Kubernetes cluster. This operation is asynchronous and returns a task that you can monitor to track the progress of the request.

Request
URI
PUT
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.

string
urn
Required

A URN corresponding to a Kubernetes cluster previously created by a POST to OpenAPI tkgClusters endpoint.


Request Body
Cluster of type(s) application/json
Required
{
    "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

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=39.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


404

The specified resource was not found

Returns Error of type(s) */*;version=39.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace