监控与采集相关接口/监控查询与概览
POSTMonitoring起始版本 1.0同步需要认证
记录容量快照
记录容量使用率快照资源类型当前时间。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
resourceTypeString必填资源类型。
示例: vm
totalCountInteger必填总数量。
示例: 500
activeCountInteger必填活跃数量。
示例: 480
usagePercentLong必填资源使用率百分比快照时间。
示例: 96
tenantIdString必填租户ID。
示例: tenant-001-xyz
响应状态
请求地址
POST/api/v1/monitoring/capacity/snapshots
/api/v1/monitoring/capacity/snapshots
请求示例
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"}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
