Retrieves spectro clusters cloud cost summary information
POST/v1/dashboard/spectroclusters/cost
Retrieves spectro clusters cloud cost summary information
Request
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter object
Spectro cluster cloud cost summary filter
cloudsstring[]
endTimedate-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.
projectsstring[]
startTimedate-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.
workspacesstring[]
options object
Spectro cluster cloud cost summary options
groupBystring
Possible values: [tenant
, project
, cloud
, cluster
]
Default value: project
periodint32
Default value: 1440
Responses
- 200
An array of resources cloud cost summary items
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
resources object[]
data object[]
computefloat64
storagefloat64
timestampint64
totalfloat64
entity object
kindstring
namestring
uidstringrequired
total object
Resource total cloud cost information
computefloat64
storagefloat64
totalfloat64
total object
Resource total cloud cost information
computefloat64
storagefloat64
totalfloat64
{
"resources": [
{
"data": [
{
"compute": 0,
"storage": 0,
"timestamp": 0,
"total": 0
}
],
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"total": {
"compute": 0,
"storage": 0,
"total": 0
}
}
],
"total": {
"compute": 0,
"storage": 0,
"total": 0
}
}
Loading...