This commit is contained in:
@@ -884,18 +884,19 @@ paths:
|
||||
- vcenters
|
||||
/vcenters/totals:
|
||||
get:
|
||||
description: Shows per-snapshot totals for a vCenter.
|
||||
description: Redirect-style handler for compatibility; use /vcenters/totals/daily
|
||||
or /vcenters/totals/hourly.
|
||||
parameters:
|
||||
- description: vCenter URL
|
||||
in: query
|
||||
name: vcenter
|
||||
required: true
|
||||
type: string
|
||||
- description: 'hourly|daily|monthly (default: hourly)'
|
||||
- description: hourly|daily|monthly
|
||||
in: query
|
||||
name: type
|
||||
type: string
|
||||
- description: Limit results (default 200)
|
||||
- description: Limit results
|
||||
in: query
|
||||
name: limit
|
||||
type: integer
|
||||
@@ -913,6 +914,57 @@ paths:
|
||||
summary: vCenter totals
|
||||
tags:
|
||||
- vcenters
|
||||
/vcenters/totals/daily:
|
||||
get:
|
||||
description: Shows daily aggregated VM count/vCPU/RAM totals for a vCenter.
|
||||
parameters:
|
||||
- description: vCenter URL
|
||||
in: query
|
||||
name: vcenter
|
||||
required: true
|
||||
type: string
|
||||
- description: Limit results (default 400)
|
||||
in: query
|
||||
name: limit
|
||||
type: integer
|
||||
produces:
|
||||
- text/html
|
||||
responses:
|
||||
"200":
|
||||
description: HTML page
|
||||
schema:
|
||||
type: string
|
||||
"400":
|
||||
description: Missing vcenter
|
||||
schema:
|
||||
type: string
|
||||
summary: vCenter daily totals
|
||||
tags:
|
||||
- vcenters
|
||||
/vcenters/totals/hourly:
|
||||
get:
|
||||
description: Shows detailed hourly VM count/vCPU/RAM totals for the latest 45
|
||||
days.
|
||||
parameters:
|
||||
- description: vCenter URL
|
||||
in: query
|
||||
name: vcenter
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- text/html
|
||||
responses:
|
||||
"200":
|
||||
description: HTML page
|
||||
schema:
|
||||
type: string
|
||||
"400":
|
||||
description: Missing vcenter
|
||||
schema:
|
||||
type: string
|
||||
summary: vCenter hourly totals (45 days)
|
||||
tags:
|
||||
- vcenters
|
||||
/vm/trace:
|
||||
get:
|
||||
description: Shows VM resource history across snapshots, with chart and table.
|
||||
|
||||
Reference in New Issue
Block a user