Retrieves spectro clusters resources cost summary information
POST/v1/dashboard/spectroclusters/resources/cost
Retrieves spectro clusters resources cost summary information
Request
Header Parameters
Scope the request to the specified project uid
- application/json
Body
filter object
Resource cost summary filter
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.
options object
Resource cost summary options
Default value: true
Possible values: [tenant
, project
, workspace
, cluster
, namespace
, deployment
, cloud
]
Default value: cluster
Default value: 60
Responses
- 200
An array of resources cost summary items
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
resources object[]
associatedResources object[]
data object[]
entity object
total object
Resource total cost information
total object
Resource total cost information
{
"resources": [
{
"associatedResources": [
{
"kind": "string",
"name": "string",
"uid": "string"
}
],
"data": [
{
"cpu": 0,
"memory": 0,
"storage": 0,
"timestamp": 0,
"total": 0
}
],
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"total": {
"cpu": 0,
"memory": 0,
"storage": 0,
"total": 0
}
}
],
"total": {
"cpu": 0,
"memory": 0,
"storage": 0,
"total": 0
}
}