修復を必要とするボリュームのバックグラウンド チェックを開始します。
/api/v1/vol/check?vdc=controller-name
ターゲットの仮想データ センターの名前
非同期
GET
ボリュームのバックグラウンド チェックを開始します。
GET http://192.168.123.200/api/v1/vol/check?vdc=mygrid
XML
<message>A background check for volumes that need repair has been initiated and may take a few minutes to complete. Execute 'vol repair --status' to retrieve the current state of the volumes that are being repaired.</message>
JSON
{
"message" : "A background check for volumes that need repair has been initiated and may take ¥na few minutes to complete. Execute 'vol repair --status' to retrieve the ¥ncurrent state of the volumes that are being repaired.¥n"
}
JSON の出力はすべて UTF8 にエンコードされています。 UTF8 デコードを使用して UTF8 にエンコードされた出力をデコードします。
UTF8 にエンコードされた JSON 出力をデコードするシンプルな PHP スクリプトの例を以下に示します。
<?
$json = '{"a": "¥u00e3¥u0081¥u0082" }';
$j = json_decode($json);
echo utf8_decode($j->{'a'});
?>
エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。
修復が必要なボリュームのバックグラウンド チェックはすでに進行中です。
| Copyright © 2011 CA. All rights reserved. | このトピックについて CA Technologies に電子メールを送信する |