A newer version is available. For the latest information, see the
current release documentation.
ItemsCosts
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
ItemsCosts
editCosts associated to a set of Elastic Cloud resources for an organization. All of the costs are expressed in Elastic Consumption Unit (ECU).
Properties
edit-
costs(Costs, required) - Costs for the Elastic Cloud resources
-
data_transfer_and_storage(array[DtsDimensionCosts], required) - List of the detailed costs associated to the Data Transfer and Storage (DTS) dimensions
-
resources(array[ItemCosts], required) - Costs of the list of resources
Example
edit{
"costs" : {
"data_transfer_and_storage" : 0.1,
"resources" : 0.1,
"total" : 0.1
},
"data_transfer_and_storage" : [
{
"cost" : 0.1,
"name" : "string",
"quantity" : {
"formatted_value" : "string",
"value" : 0
},
"rate" : {
"formatted_value" : "string",
"value" : 0.1
},
"sku" : "string",
"type" : "string"
}
],
"resources" : [
{
"hours" : 0,
"instance_count" : 0,
"kind" : "string",
"name" : "string",
"period" : {
"end" : "2019-01-01T00:00:00Z",
"start" : "2019-01-01T00:00:00Z"
},
"price" : 0.1,
"price_per_hour" : 0.1,
"sku" : "string"
}
]
}