ResourceLevelBillingHistoryResources
attributes object
Additional resource attributes.
idstring
Unique identifier.
Example:
7e2d5a13-9c8b-4f1e-a420-3d6f8b9c0e15infrahub_idinteger
Internal numeric identifier used by Hyperstack for cross-system references.
Example:
1402resource_namestring
Name of the resource the entry refers to.
Example:
uimap-bucket-teststatusstring
Current lifecycle state of the resource.
Example:
ACTIVEcontract_idintegernullable
Identifier of the customer contract under which the resource is billed.
metrics object
Resource utilisation metrics.
incurred_billnumber
Total amount accrued for the resource in the time window, in the response's currency.
Example:
1.4799118041992184e-11price_per_hournumber
Hourly charge for the resource.
Example:
1.479911804199218e-10usage_timenumber
Total billable time in the window, expressed in hours.
Example:
1680ResourceLevelBillingHistoryResources
{
"attributes": {
"id": "7e2d5a13-9c8b-4f1e-a420-3d6f8b9c0e15",
"infrahub_id": 1402,
"resource_name": "uimap-bucket-test",
"status": "ACTIVE",
"contract_id": 0
},
"metrics": {
"incurred_bill": 1.4799118041992184e-11,
"price_per_hour": 1.479911804199218e-10,
"usage_time": 1680
}
}
Was this page helpful?