Protection Coverage Report
Generates a file with information for all protected VMs in the specified format.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
Copy
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "ReportingManagement",
"method": "createProtectionCoverageReport",
"data": [0, "CSV"],
"type": "rpc",
"tid": 1}"
Request Fields
Field |
Type |
Value(s) |
---|---|---|
action
|
string | ReportingManagement |
method
|
string | createProtectionCoverageReport |
data
|
array | See parameters below |
type
|
string | rpc
|
tid
|
integer | 1 |
Data
Field |
Type |
Description |
---|---|---|
|
Integer | Offset from UTC time zone in milliseconds (optional) |
|
string | The format for the exported file. Can be “CSV”, “PDF”, or “HTML” |
Error Response Sample
curl
Copy
{
"action": "ReportingManagement",
"method": "createProtectionCoverageReport",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field |
Value |
Description |
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Refence to the method where problem occurred |
cause
|
string | Cause of failure |