Skip to main content

Updates the specified cluster status condition

PUT 

https://api.spectrocloud.com/v1/spectroclusters/:uid/status/condition

Updates the specified cluster status condition

Request

Path Parameters

    uid stringrequired

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

The resource was updated successfully

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"
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Parameters
— pathrequired
Body
{
"lastProbeTime": "2024-07-29T15:51:28.071Z",
"lastTransitionTime": "2024-07-29T15:51:28.071Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}