Updates the specified cluster status condition
PUThttps://api.spectrocloud.com/v1/spectroclusters/:uid/status/condition
Updates the specified cluster status condition
Request
Path Parameters
uid stringrequired
- application/json
Body
lastProbeTimedate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
lastTransitionTimedate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
messagestring
Human-readable message indicating details about last transition.
reasonstring
Unique, one-word, CamelCase reason for the condition's last transition.
statusstringrequired
typestringrequired
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/spectroclusters/:uid/status/condition' \
-H 'Content-Type: application/json' \
-d '{
"lastProbeTime": "2024-07-29T15:51:28.071Z",
"lastTransitionTime": "2024-07-29T15:51:28.071Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}'