Report sulla copertura della protezione
Versione del prodotto: 10.11
Ultima modifica: 31 luglio 2024
Genera un file contenente le informazioni relative a tutte le VM protette nel formato specificato.
Endpoint
https://<Director_IP_address>:4443/c/router
Esempio di richiesta
Copia
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": [7200000, "CSV"],
"type": "rpc",
"tid": 1}'
Campi della richiesta
|
Campo |
Tipo |
Valore/i |
|---|---|---|
action
|
stringa | ReportingManagement |
method
|
stringa | createProtectionCoverageReport |
data
|
array | Array con due elementi, nell'ordine seguente: clientTimeOffsetToUtc e exportType. Gli elementi sono posizionali, quindi inviali entrambi. Vedi i parametri riportati di seguito |
type
|
stringa | rpc
|
tid
|
numero intero | 1 |
Dati
|
Campo |
Tipo |
Description |
|---|---|---|
|
|
Integer
|
Facoltativo. Differenza tra il fuso orario del client e l'UTC, espressa in millisecondi; ad esempio, 7200000 per UTC+2. Per omettere l'offset, inviare null |
|
|
stringa | Il formato del file esportato. Può essere “CSV”, “PDF” o “HTML” |
Esempio di risposta di errore
Copia
{
"action": "ReportingManagement",
"method": "createProtectionCoverageReport",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Campi di risposta
|
Campo |
Valore |
Description |
|---|---|---|
message
|
stringa | Messaggio in caso di errore nella richiesta |
where
|
stringa | Riferimento al metodo in cui si è verificato il problema |
cause
|
stringa | Causa del guasto |