Drive Enclosure情報の取得
GET /de/{de_id}
概要説明
Drive Enclosureの情報を取得します。
リクエスト例
Drive Enclosure ID 01 について、ステータスのみを取得する場合の例です。
$ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/de/01?fields=status"
レスポンス例
{
"de_id": "01",
"de_href": "/api/v1/de/1",
"status": "Normal",
"detail_status": "Normal",
"max_drive_count": 24,
"type": SAS,
"temperature_status": "Normal",
"temperature": "25"
"power_1min_avg": 255,
"power_1hour_avg": 310,
"iom0_status": "Normal",
"iom1_status": "Normal",
"psu0_status": "Normal",
"psu1_status": "Normal",
"drive_href_list": [
"/api/v1/drive/0100",
"/api/v1/drive/0101",
"/api/v1/drive/0102",
"/api/v1/drive/0103"
]
}
Parameters
PATH PARAMETERS
| de_id
(required) |
string DE-ID (01~ff)。 |
QUERY PARAMETERS
| fields | Array of strings 表示したいParameter。 指定したParameter名(Response Body Parameter)の情報のみを抜き出して取得します。 指定方法の詳細は、表示する項目の絞り込みを参照してください。 |
Responses
正常に取得できた場合、HTTPステータスコードが200 (OK)となりレスポンスボディを応答します。
RESPONSE BODY
| de_id | string Drive Enclosure ID。 |
||||||||||||||||||
| de_href | string Drive EnclosureのResourceへのLink。 |
||||||||||||||||||
| status | string ステータス。
|
||||||||||||||||||
| detail_status | string 詳細ステータス。
|
||||||||||||||||||
| max_drive_count | integer 搭載可能なDriveの最大数。 |
||||||||||||||||||
| type | string DEのInterface Type。
|
||||||||||||||||||
| temperature_status | string ステータス。
|
||||||||||||||||||
| temperature | string 周囲温度。 単位は℃です。 センサー故障で情報取得不可の場合は0と表示します。 |
||||||||||||||||||
| power_1min_avg | integer 直近1分の平均消費電力。 単位はWです。 |
||||||||||||||||||
| power_1hour_avg | integer 直近1時間の平均消費電力。 単位はWです。 |
||||||||||||||||||
| iom0_status | string ステータス。
|
||||||||||||||||||
| iom1_status | string ステータス。
|
||||||||||||||||||
| psu0_status | string ステータス。
|
||||||||||||||||||
| psu1_status | string ステータス。
|
||||||||||||||||||
| drive_href_list | Array of strings DriveのLink。 当該DEに搭載されているDriveへのLinkが返ります。 |

