Ocean ECS
Get Cluster Costs
Describes ECS cluster costs in a time range.
The response will provide the distribution of the costs per cluster.
<span><strong>Deprecated API:</strong></span></span> This API is no longer supported. As an alternative you may use the "Get Ecs Cluster Aggregated Detailed Costs" API.
get/mcs/ecs/cluster/{clusterName}/costs
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/mcs/ecs/cluster/{clusterName}/costs
- AuthHTTP bearer
Path parameters
clusterNamestring required
The name of the ECS cluster, as set in the Ocean cluster configuration under the "clusterName" field.
Query parameters
toDatestring required
End date value using either the date format "yyyy-mm-dd; 2016-11-20" or ms "1494751821472".
fromDatestring required
Beginning date value using either the date format "yyyy-mm-dd; 2016-11-20" or ms "1494751821472".
regionstring required
Region name.
Parameters
#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
Changes
No recorded changes to this operation across all 12 revisions of this API.