For the complete documentation index, see llms.txt. This page is also available as Markdown.

Recommendation Ignore List

Recommendation CRUD apis for recommendations ignore list.

Add resources to recommendations ignore list

post

Add resources to recommendations ignore list

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body
commentsstringOptional
durationInDaysinteger · int32Optional
Responses
400

Bad Request

application/json

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/recommendation/ignore-list/add
POST /gateway/ccm/api/recommendation/ignore-list/add?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 1372

{
  "workloads": [
    {
      "clusterName": "text",
      "namespace": "text",
      "workloadName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "nodepools": [
    {
      "clusterName": "text",
      "nodepoolName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "ecsServices": [
    {
      "clusterName": "text",
      "ecsServiceName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "ec2Instances": [
    {
      "awsAccountId": "text",
      "instanceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "azureVmIds": [
    {
      "subscriptionId": "text",
      "resourceGroupId": "text",
      "vmName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "governanceRuleIds": [
    {
      "ruleId": "text",
      "targetId": "text",
      "targetRegion": "text",
      "resourceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "awsPassthroughResources": [
    {
      "awsAccountId": "text",
      "resourceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "comments": "text",
  "durationInDays": 1
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Get resources in recommendations ignore list

get

Get resources in recommendations ignore list

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Responses
400

Bad Request

application/json

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
get/recommendation/ignore-list
GET /gateway/ccm/api/recommendation/ignore-list?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Remove resources from recommendations ignore list

post

Remove resources from recommendations ignore list

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body
commentsstringOptional
durationInDaysinteger · int32Optional
Responses
400

Bad Request

application/json

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/recommendation/ignore-list/remove
POST /gateway/ccm/api/recommendation/ignore-list/remove?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 1372

{
  "workloads": [
    {
      "clusterName": "text",
      "namespace": "text",
      "workloadName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "nodepools": [
    {
      "clusterName": "text",
      "nodepoolName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "ecsServices": [
    {
      "clusterName": "text",
      "ecsServiceName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "ec2Instances": [
    {
      "awsAccountId": "text",
      "instanceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "azureVmIds": [
    {
      "subscriptionId": "text",
      "resourceGroupId": "text",
      "vmName": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "governanceRuleIds": [
    {
      "ruleId": "text",
      "targetId": "text",
      "targetRegion": "text",
      "resourceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "awsPassthroughResources": [
    {
      "awsAccountId": "text",
      "resourceId": "text",
      "ignoreUntilEpochMillis": 1,
      "ignoreComments": "text",
      "ignoredByUserId": "text",
      "ignoredByUserName": "text",
      "ignoredAt": 1
    }
  ],
  "comments": "text",
  "durationInDays": 1
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?