Controller Enclosure情報の取得
GET /ce/{ce_id}
概要説明
Controller Enclosureの情報を取得します。
リクエスト例
Contoroller Enclosure ID 2 について、CE IDとステータスのみを取得する場合の例です。
$ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/ce/2?fields=status"
レスポンス例
{
"ce_id": "1",
"ce_href": "/api/v1/ce/1",
"status": "Normal",
"detail_status": "Normal",
"temperature_status": "Normal",
"temperature": "25",
"power_1min_avg": 255,
"power_1hour_avg": 310,
"cm0_status": "Normal",
"cm1_status": "Normal",
"bbu0_status": "Normal",
"bbu0_charge_rate": 80,
"bbu0_expiration_date": "2099-12",
"bbu1_status": "Normal",
"bbu1_charge_rate": 80,
"bbu1_expiration_date": "2099-12",
"psu0_status": "Normal",
"psu1_status": "Normal",
"bud0_status": "Normal",
"bud1_status": "Normal",
"bud2_status": "Normal",
"bud3_status": "Normal",
"cm0_da0_status": "Normal",
"cm0_da0_type": SAS,
"cm1_da0_status": "Normal",
"cm1_da0_type: SAS,
"cm0_da1_status": "Normal",
"cm0_da1_type: SAS,
"cm1_da1_status": "Normal",
"cm1_da1_type: SAS,
"drive_href_list": [
"/api/v1/drive/0000",
"/api/v1/drive/0001",
"/api/v1/drive/0002",
"/api/v1/drive/0003"
]
}
Parameters
PATH PARAMETERS
| ce_id
(required) |
string CE-ID (0~b)。 |
QUERY PARAMETERS
| fields | Array of strings 表示したいParameter。 指定したParameter名(Response Body Parameter)の情報のみを抜き出して取得します。 指定方法の詳細は、表示する項目の絞り込みを参照してください。 |
Responses
正常に取得できた場合、HTTPステータスコードが200 (OK)となりレスポンスボディを応答します。
RESPONSE BODY
| ce_id | string Controller Enclosure ID。 |
||||||||||||||||||
| ce_href | string Controller EnclosureのResourceへのLink。 |
||||||||||||||||||
| status | string ステータス。
|
||||||||||||||||||
| detail_status | string 詳細ステータス。
|
||||||||||||||||||
| temperature_status | string ステータス。
|
||||||||||||||||||
| temperature | string 周囲温度。 単位は℃です。 センサー故障で情報取得不可の場合は0と表示します。 |
||||||||||||||||||
| power_1min_avg | integer 直近1分の平均消費電力。 単位はWです。 |
||||||||||||||||||
| power_1hour_avg | integer 直近1時間の平均消費電力。 単位はWです。 |
||||||||||||||||||
| cm0_status | string ステータス。
|
||||||||||||||||||
| cm1_status | string ステータス。
|
||||||||||||||||||
| bbu0_status | string ステータス。
|
||||||||||||||||||
| bbu0_charge_rate | integer BBUの充電率。 単位は%です。 充電率が90%以上の場合、「100」と表示されます。 |
||||||||||||||||||
| bbu0_expiration_date | string BBUの有効期限。 Formatは以下です。 YYYY-MM YYYY:年 (西暦)、MM:月 (01~12) |
||||||||||||||||||
| bbu1_status | string ステータス。
|
||||||||||||||||||
| bbu1_charge_rate | integer BBUの充電率。 単位は%です。 充電率が90%以上の場合、「100」と表示されます。 |
||||||||||||||||||
| bbu1_expiration_date | string BBUの有効期限。 Formatは以下です。 YYYY-MM YYYY:年 (西暦)、MM:月 (01~12) |
||||||||||||||||||
| psu0_status | string ステータス。
|
||||||||||||||||||
| psu1_status | string ステータス。
|
||||||||||||||||||
| bud0_status | string ステータス。
|
||||||||||||||||||
| bud1_status | string ステータス。
|
||||||||||||||||||
| bud2_status | string ステータス。
|
||||||||||||||||||
| bud3_status | string ステータス。
|
||||||||||||||||||
| cm0_da0_status | string ステータス。
|
||||||||||||||||||
| cm0_da0_type | string DAのInterface Type。
|
||||||||||||||||||
| cm1_da0_status | string ステータス。
|
||||||||||||||||||
| cm1_da0_type | string DAのInterface Type。
|
||||||||||||||||||
| cm0_da1_status | string ステータス。
|
||||||||||||||||||
| cm0_da1_type | string DAのInterface Type。
|
||||||||||||||||||
| cm1_da1_status | string ステータス。
|
||||||||||||||||||
| cm1_da1_type | string DAのInterface Type。
|
||||||||||||||||||
| drive_href_list | Array of strings DriveのLink。 当該CEに搭載されているDriveへのLinkが返ります。 |

