Retrieve systems cost and usage
GET /vsa/working-environments/{workingEnvironmentId}/cost-and-usage
Retrieves the system cost and usage.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
workingEnvironmentId |
string |
path |
True |
|
start |
string |
query |
False |
|
end |
string |
query |
False |
Error
Status: Default, Default response
| Name | Type | Required | Description |
|---|---|---|---|
hasPermissions |
boolean |
True |
Permissions to view the cost and usage details |
costByTime |
array[CostByTime] |
True |
System cost and usage details |
Definitions
See Definitions
Money
| Name | Type | Required | Description |
|---|---|---|---|
amount |
number |
True |
Amount |
currency |
string |
True |
Currency |
Usage
| Name | Type | Required | Description |
|---|---|---|---|
amount |
number |
False |
Amount |
units |
string |
True |
Units |
CostByUsage
| Name | Type | Required | Description |
|---|---|---|---|
name |
string |
True |
Breakdown element name |
cost |
True |
||
usage |
True |
CostByService
| Name | Type | Required | Description |
|---|---|---|---|
name |
string |
True |
Name of the cost domain (compute, disk/blob storage, object storage, data transfer) |
total |
True |
||
costByUsage |
array[CostByUsage] |
True |
Cost domain breakdown |
CostByTime
| Name | Type | Required | Description |
|---|---|---|---|
start |
string |
True |
Cost period start date |
end |
string |
True |
Cost period end date |
estimated |
boolean |
True |
Indicates whether the cost is estimated |
total |
True |
||
costByService |
array[CostByService] |
True |
Monthly cost and usage details |