補償範囲報告書
製品バージョン:10.11
最終更新日:2024年7月31日
指定された形式で、保護対象のすべてのVMに関する情報を含むファイルを生成します。
エンドポイント
https://<Director_IP_address>:4443/c/router
リクエスト例
コピー
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}'
リクエストフィールド
|
フィールド |
種類 |
値(複数可) |
|---|---|---|
action
|
文字列 | ReportingManagement |
method
|
文字列 | createProtectionCoverageReport |
data
|
配列 | 要素が2つあり、順序は次のとおりです: clientTimeOffsetToUtc および exportType。要素は位置指定型なので、両方とも送信してください。以下のパラメータを参照してください |
type
|
文字列 | rpc
|
tid
|
整数 | 1 |
データ
|
フィールド |
種類 |
説明 |
|---|---|---|
|
|
Integer
|
任意です。クライアントのタイムゾーンとUTCとの差(ミリ秒単位)。例: 7200000 例えば、UTC+2の場合など。オフセットを省略するには、以下を送信してください。 null |
|
|
文字列 | エクスポートされるファイルの形式。 「CSV」、「PDF」、または「HTML」のいずれかです。 |
エラー応答の例
コピー
{
"action": "ReportingManagement",
"method": "createProtectionCoverageReport",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
応答フィールド
|
フィールド |
値 |
説明 |
|---|---|---|
message
|
文字列 | リクエストが失敗した場合はメッセージを表示する |
where
|
文字列 | 問題が発生した手法に関する言及 |
cause
|
文字列 | 故障の原因 |