Retrieves the specified cluster cost summary
GET/v1/dashboard/spectroclusters/:uid/cost
Retrieves the specified cluster cost summary
Request
Path Parameters
Query Parameters
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.
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.
Possible values: >= 60
period in minutes, group the data point by the specified period
Header Parameters
Scope the request to the specified project uid
Responses
- 200
An spectro cluster cost summary
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
cluster
object
Spectro cluster cost information
cloud
object
Spectro cluster cloud cost information
cost
object
Resource Cost information
cloud
object
Cloud cost information
data
object[]
cost
object
Resource Cost information
cloud
object
Cloud cost information
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.
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.
{
"cluster": {
"cloud": {
"cost": {
"cloud": {
"compute": 0,
"storage": 0,
"total": 0
},
"total": 0
},
"data": [
{
"compute": 0,
"storage": 0,
"timestamp": 0,
"total": 0
}
]
},
"cost": {
"cloud": {
"compute": 0,
"storage": 0,
"total": 0
},
"total": 0
},
"name": "string",
"uid": "string"
},
"endTime": "2024-07-02T18:20:57.974Z",
"period": 0,
"startTime": "2024-07-02T18:20:57.974Z"
}