Retrieve the list of assets defined in the account
Use this API to get K8s and non-K8s cost assets.
Set the isK8S parameter to "1" to get K8s assets. The possible combinations of the columns / cost types vary between the two use cases.
The
columns
field lists the various available data columns for the assets.
The list can be viewed in the Umbrella Cost App and is updated according to the Cloud Provider. Recent fields added to the list of columns in AWS: Invoice Id, Bill type, Tax type, ProductName
Request the Cost calculation option you need
Choose between the cost calculation options. Set the required cost calculation option as true in your request, and omit the other options from your request.
- isAmortized=true
- isNetAmortized=true
- isNetUnblended=true
- isPublicCost=true
- isDistributed=true
- isUnblended=true
Pagination
- The nextToken field will be included in the response, to indicate there is additional information to retrieve.
- The value should be used in the token parameter of the next call.
You can filter and group by the assets according to multiple dimensions. See the groupBy and filtering options here