Returns estimated cost of an existing cluster - typical cost represents the cost for the current scale of the clusters node pools
GET/api/v2/costestimates/cluster/:workspace/:cluster
Returns estimated cost of an existing cluster - typical cost represents the cost for the current scale of the clusters node pools
Request
Path Parameters
workspace stringrequired
Workspace of the cluster to estimate current cost for
cluster stringrequired
Name of the cluster to estimate current cost for
Responses
- 200
- 400
- 401
- 403
- 500
An estimate of the costs for the cluster
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
costElements
undefined[]
maxCost int64required
minCost int64required
name string
typicalCost int64required
maxCost int64required
minCost int64required
preparedAt string
typicalCost int64required
{
"costElements": [
{
"maxCost": 0,
"minCost": 0,
"name": "string",
"typicalCost": 0
}
],
"maxCost": 0,
"minCost": 0,
"preparedAt": "string",
"typicalCost": 0
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32required
fieldErrors
undefined[]
required
errCode stringrequired
field stringrequired
message stringrequired
message stringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...