v1
latestOpenAPI 3.0.02026-08-0645003.8 MBElastigroup Azure Scale Set VMs
Get Costs Per Account
Get costs per time filter.
get/azure/costs
Query parameters
accountIdstring required
The ID of the account associated with your token.
fromDatestring required
Get items on or after this date (ISO 8601 or Unix timestamp)
toDatestring required
Get items on or before this date (ISO 8601 or Unix timestamp)
Response
Costs Per Account Response
Example response
{
"request": {
"id": "67582d0c-108b-4ef7-9fdc-d39678a30844",
"url": "/azure/costs",
"method": "GET",
"timestamp": "2018-01-07T07:30:58.622Z"
},
"response": {
"kind": "spotinst:azure:costs",
"items": [
{
"lowPriority": {
"runningHours": 1470.8,
"actualCosts": 107.3,
"potentialCosts": 378.41,
"savingsPercentage": 71.64
}
}
],
"count": 1
}
}