Skip to main content

Retrieves the specified cluster cost summary

GET 

/v1/dashboard/spectroclusters/:uid/cost

Retrieves the specified cluster cost summary

Request

Path Parameters

    uid stringrequired

Query Parameters

    startTime date-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.

    endTime date-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.

    period int32

    Possible values: >= 60

    period in minutes, group the data point by the specified period

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Responses

An spectro cluster cost summary

Schema

    cluster

    object

    Spectro cluster cost information

    cloud

    object

    Spectro cluster cloud cost information

    cost

    object

    Resource Cost information

    cloud

    object

    Cloud cost information

    computefloat64
    storagefloat64
    totalfloat64
    totalfloat64

    data

    object[]

  • Array [

  • computefloat64
    storagefloat64
    timestampint64
    totalfloat64
  • ]

  • cost

    object

    Resource Cost information

    cloud

    object

    Cloud cost information

    computefloat64
    storagefloat64
    totalfloat64
    totalfloat64
    namestring
    uidstring
    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.

    periodint32
    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.

Loading...