Update Using PUT
Update K8S Cluster by id
Request
URI
PUT
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/cmx/api/resources/k8s/clusters/{id}
COPY
Path Parameters
string
id
Required
id
Request Body
K8SCluster_1 of type(s) application/json
Optional
{
"address": "string",
"authCredentialsLink": "string",
"caCertificate": "string",
"clusterType": "string",
"createdMillis": 0,
"credentials": {
"documentSelfLink": "string",
"privateKey": "string",
"privateKeyId": "string",
"publicKey": "string",
"tenantLinks": [
"string"
],
"type": "string",
"userEmail": "string"
},
"description": "string",
"endpointId": "string",
"global": false,
"id": "string",
"kubernetesWorkerInstances": 0,
"lastOperation": "string",
"lastOperationMessage": "string",
"lastOperationStatus": "string",
"lastRefreshedMillis": 0,
"name": "string",
"nodes": [
{
"allocatablePods": 0,
"cpuCores": "number",
"cpuUsage": "number",
"createdMillis": 0,
"description": "string",
"id": "string",
"memoryUsage": "number",
"name": "string",
"orgId": "string",
"totalMemory": "number",
"updatedMillis": 0
}
],
"orgId": "string",
"owner": "string",
"projectId": "string",
"remainingUnreachableRetryThreshold": 0,
"shared": false,
"status": "string",
"updatedMillis": 0,
"version": "string"
}
string
address
Optional
address
string
authCredentialsLink
Optional
authCredentialsLink
string
caCertificate
Optional
caCertificate
string
clusterType
Optional
clusterType
integer As int64 As int64
createdMillis
Optional
createdMillis
object
customProperties
Optional
customProperties
string
description
Optional
description
string
endpointId
Optional
endpointId
boolean
global
Optional
global
string As uuid As uuid
id
Optional
id
integer As int32 As int32
kubernetesWorkerInstances
Optional
kubernetesWorkerInstances
string
lastOperation
Optional
lastOperation
string
lastOperationMessage
Optional
lastOperationMessage
string
lastOperationStatus
Optional
lastOperationStatus
integer As int64 As int64
lastRefreshedMillis
Optional
lastRefreshedMillis
string
name
Optional
name
string
orgId
Optional
orgId
string
owner
Optional
owner
string
projectId
Optional
projectId
integer As int32 As int32
remainingUnreachableRetryThreshold
Optional
remainingUnreachableRetryThreshold
boolean
shared
Optional
shared
string
status
Optional
status
integer As int64 As int64
updatedMillis
Optional
updatedMillis
string
version
Optional
version
Responses
201
Created
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure