RuleEnforcement

This contains APIs related to Rule Enforcement

Add a new rule Enforcement

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

Request body containing Rule Enforcement object

object (RuleEnforcement)

This object will contain the complete definition of a Cloud Cost Policy enforcement

Responses
400

Bad Request

500

Internal server error

default

Returns newly created rule

post/ccm/api/governance/enforcement
Request samples
application/json
{
  • "ruleEnforcement": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Fetch Rule Enforcement count for account

Fetch Rule Enforcement count

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

Request body containing Rule Enforcement count object

object (EnforcementCountRequest)

This has the query to list Enforcement Count

Responses
400

Bad Request

500

Internal server error

default

Returns List of rules Enforcement

post/ccm/api/governance/enforcement/count
Request samples
application/json
{
  • "enforcementCount": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Fetch Rule Enforcement count for account

execution Detail

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

Request body containing Rule Enforcement count object

object (ExecutionDetailRequest)

This has the query for ExecutionDetailRequest

Responses
400

Bad Request

500

Internal server error

default

Returns execution Details

post/ccm/api/governance/execution/details
Request samples
application/json
{
  • "executionDetail": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Fetch Rule Enforcement for account

Fetch Rule Enforcement

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json

Request body containing Rule Enforcement object

object (RuleEnforcement)

This object will contain the complete definition of a Cloud Cost Policy enforcement

Responses
400

Bad Request

500

Internal server error

default

Returns List of rules Enforcement

post/ccm/api/governance/enforcement/list
Request samples
application/json
{
  • "ruleEnforcement": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}