Cloud Cost Recommendations

Recommendations for workloads and node pools.

Return Recommendations statistics

Returns the Cloud Cost Recommendations statistics for the specified filters.

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the statistics of all Recommendations available.

post/ccm/api/recommendation/overview/stats
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "offset": 0,
  • "limit": 0,
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the list of filter values for the Recommendations

Returns the list of filter values for all the specified filters.

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

Recommendation Filter Values Body.

columns
Array of strings
object (CCMRecommendationFilterProperties)

Properties of the CCMRecommendation Filter defined in Harness

Responses
400

Bad Request

500

Internal server error

default

Returns the values available for a filter.

post/ccm/api/recommendation/overview/filter-values
Request samples
application/json
{
  • "columns": [
    ],
  • "filter": {
    }
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the list of Recommendations

Returns the list of Cloud Cost Recommendations for the specified filters.

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the list of Recommendations available.

post/ccm/api/recommendation/overview/list
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "offset": 0,
  • "limit": 0,
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the number of Recommendations

Returns the total number of Cloud Cost Recommendations based on the specified filters.

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the count of all Recommendations available.

post/ccm/api/recommendation/overview/count
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "offset": 0,
  • "limit": 0,
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}