get_billing_usage_by_datacenter
Retrieve aggregated resource usage for a specific datacenter in the current billing period. Use the datacenter ID from list_billing_usage to get detailed meter quantities, excluding zero-usage items by default.
Instructions
Get aggregated resource usage for a specific datacenter (VDC UUID) in the current billing period. Use list_billing_usage first to find datacenter IDs. Defaults exclude zero-quantity meters (set include_zero=true to keep them). For FOCUS v1.3 compliant output, read resource ionos://billing/focus-v1.3.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>",
"datacenter_id": "<datacenter_id>"
},
"name": "get_billing_usage_by_datacenter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | contract number from get_billing_profile | |
| include_zero | No | include meters with quantity 0 (default false) | |
| datacenter_id | Yes | the VDC UUID |