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 | |
Array of objects (RecommendationAzureVmId) unique | |
Array of objects (RecommendationGovernanceRuleId) 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"
}
], - "azureVmIds": [
- {
- "subscriptionId": "string",
- "resourceGroupId": "string",
- "vmName": "string"
}
], - "governanceRuleIds": [
- {
- "ruleId": "string",
- "targetId": "string",
- "targetRegion": "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 | |
Array of objects (RecommendationAzureVmId) unique | |
Array of objects (RecommendationGovernanceRuleId) 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"
}
], - "azureVmIds": [
- {
- "subscriptionId": "string",
- "resourceGroupId": "string",
- "vmName": "string"
}
], - "governanceRuleIds": [
- {
- "ruleId": "string",
- "targetId": "string",
- "targetRegion": "string"
}
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}