Skip to main content

Retrieves spectro clusters resources cost summary information

POST 

/v1/dashboard/spectroclusters/resources/cost

Retrieves spectro clusters resources cost summary information

Request

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    filter object

    Resource cost summary filter

    cloudsstring[]
    clustersstring[]
    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.

    includeMasterMachinesboolean
    namespacesstring[]
    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

    Resource cost summary options

    enableSummaryViewboolean

    Default value: true

    groupBystring

    Possible values: [tenant, project, workspace, cluster, namespace, deployment, cloud]

    Default value: cluster

    periodint32

    Default value: 60

Responses

An array of resources cost summary items

Schema
    resources object[]
  • Array [
  • associatedResources object[]
  • Array [
  • kindstring
    namestring
    uidstringrequired
  • ]
  • data object[]
  • Array [
  • cpufloat64
    memoryfloat64
    storagefloat64
    timestampint64
    totalfloat64
  • ]
  • entity object
    kindstring
    namestring
    uidstringrequired
    total object

    Resource total cost information

    cpufloat64
    memoryfloat64
    storagefloat64
    totalfloat64
  • ]
  • total object

    Resource total cost information

    cpufloat64
    memoryfloat64
    storagefloat64
    totalfloat64
Loading...