Cloud Cost recommendation CRUD apis for recommendations ignore list.
Add resources to recommendations ignore list
Request body containing IgnoreList
Array of objects (RecommendationWorkloadId) unique | |
Array of objects (RecommendationNodepoolId) unique | |
Array of objects (RecommendationECSServiceId) unique | |
Array of objects (RecommendationEC2InstanceId) unique |
Bad Request
Internal server error
Returns ignore list
{- "workloads": [
- {
- "clusterName": "string",
- "namespace": "string",
- "workloadName": "string"
}
], - "nodepools": [
- {
- "clusterName": "string",
- "nodepoolName": "string"
}
], - "ecsServices": [
- {
- "clusterName": "string",
- "ecsServiceName": "string"
}
], - "ec2Instances": [
- {
- "awsAccountId": "string",
- "instanceId": "string"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get resources in recommendations ignore list
Bad Request
Internal server error
Returns ignore list
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Remove resources from recommendations ignore list
Request body containing IgnoreList
Array of objects (RecommendationWorkloadId) unique | |
Array of objects (RecommendationNodepoolId) unique | |
Array of objects (RecommendationECSServiceId) unique | |
Array of objects (RecommendationEC2InstanceId) unique |
Bad Request
Internal server error
Returns ignore list
{- "workloads": [
- {
- "clusterName": "string",
- "namespace": "string",
- "workloadName": "string"
}
], - "nodepools": [
- {
- "clusterName": "string",
- "nodepoolName": "string"
}
], - "ecsServices": [
- {
- "clusterName": "string",
- "ecsServiceName": "string"
}
], - "ec2Instances": [
- {
- "awsAccountId": "string",
- "instanceId": "string"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}