Group your resources using Perspectives in ways that are more meaningful to your business needs.
Fetch details of a Perspective for the given Perspective ID.
Bad Request
Internal server error
Returns a CEView object with all the rules and filters, returns null if no Perspective exists for that particular identifier
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update a Perspective. It accepts a CEView object and upserts it using the uuid mentioned in the definition.
Perspective's CEView object
Bad Request
Internal server error
Upserted CEView object with all the rules and filters
{- "uuid": "string",
- "name": "string",
- "accountId": "string",
- "folderId": "string",
- "viewVersion": "string",
- "viewTimeRange": {
- "viewTimeRangeType": "LAST_7",
- "startTime": 0,
- "endTime": 0
}, - "viewRules": [
- {
- "viewConditions": [
- {
- "type": "string"
}
]
}
], - "dataSources": [
- "CLUSTER"
], - "viewVisualization": {
- "granularity": "DAY",
- "groupBy": {
- "fieldId": "string",
- "fieldName": "string",
- "identifier": "CLUSTER",
- "identifierName": "string"
}, - "chartType": "STACKED_TIME_SERIES"
}, - "viewPreferences": {
- "showAnomalies": true,
- "includeOthers": true,
- "includeUnallocatedCost": true,
- "awsPreferences": {
- "includeDiscounts": true,
- "includeCredits": true,
- "includeRefunds": true,
- "includeTaxes": true,
- "awsCost": "AMORTISED"
}, - "gcpPreferences": {
- "includeDiscounts": true,
- "includeTaxes": true
}, - "azureViewPreferences": {
- "costType": "ACTUAL"
}
}, - "viewType": "SAMPLE",
- "viewState": "DRAFT",
- "totalCost": 0,
- "createdAt": 0,
- "lastUpdatedAt": 0,
- "createdBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}, - "lastUpdatedBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Create a Perspective. You can set the clone parameter as true to clone a Perspective.
Request body containing Perspective's CEView object
Bad Request
Internal server error
Returns a created CEView object with all the rules and filters
{- "uuid": "string",
- "name": "string",
- "accountId": "string",
- "folderId": "string",
- "viewVersion": "string",
- "viewTimeRange": {
- "viewTimeRangeType": "LAST_7",
- "startTime": 0,
- "endTime": 0
}, - "viewRules": [
- {
- "viewConditions": [
- {
- "type": "string"
}
]
}
], - "dataSources": [
- "CLUSTER"
], - "viewVisualization": {
- "granularity": "DAY",
- "groupBy": {
- "fieldId": "string",
- "fieldName": "string",
- "identifier": "CLUSTER",
- "identifierName": "string"
}, - "chartType": "STACKED_TIME_SERIES"
}, - "viewPreferences": {
- "showAnomalies": true,
- "includeOthers": true,
- "includeUnallocatedCost": true,
- "awsPreferences": {
- "includeDiscounts": true,
- "includeCredits": true,
- "includeRefunds": true,
- "includeTaxes": true,
- "awsCost": "AMORTISED"
}, - "gcpPreferences": {
- "includeDiscounts": true,
- "includeTaxes": true
}, - "azureViewPreferences": {
- "costType": "ACTUAL"
}
}, - "viewType": "SAMPLE",
- "viewState": "DRAFT",
- "totalCost": 0,
- "createdAt": 0,
- "lastUpdatedAt": 0,
- "createdBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}, - "lastUpdatedBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Delete a Perspective for the given Perspective ID.
Bad Request
Internal server error
A string text message whether the delete was successful or not
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Return details of all the Perspectives for the given account ID.
Bad Request
Internal server error
Returns a List of Perspectives
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get last period cost for a Perspective
Bad Request
Internal server error
Returns a number having the cost of last period
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get last twelve month cost for a Perspective
Bad Request
Internal server error
Return list of actual monthly budget cost and respective month in epoch
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}