Monitoring & Collection/Monitoring Query & Overview
POSTMonitoringSince 1.0SynchronousAuth Required
RecordCapacitySnapshot
Record a capacity usage snapshot for a resource type at the current time
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
resourceTypeStringRequiredResource type of this snapshot (e.g. vm, host)
Example: vm
totalCountIntegerRequiredTotal resource count at snapshot time
Example: 500
activeCountIntegerRequiredActive resource count at snapshot time
Example: 480
usagePercentLongRequiredResource usage percentage at snapshot time
Example: 96
tenantIdStringRequiredTenant identifier for this snapshot
Example: tenant-001-xyz
Responses
Endpoint
POST/api/v1/monitoring/capacity/snapshots
/api/v1/monitoring/capacity/snapshots
Request Example
curl -X POST '{host}/api/v1/monitoring/capacity/snapshots' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"resourceType":"vm","totalCount":500,"activeCount":480,"usagePercent":96.0,"tenantId":"tenant-001-xyz"}'
Response Example
200{}Change History
This API has no change history records yet.
