이 명령은 풀에 대한 스토리지 사용량 정보와 함께 단일 스토리지 풀에서 등록 정보를 반환합니다. 성공한 명령에 대해 HTTP 상태 200(OK)이 반환됩니다.
요청 예:
GET /api/storage/v1/pools/gold HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
응답 예:
HTTP/1.1 200 OK
Content-Type: application/json
{
"pool": {
"profile": "raidz1",
"name": "gold",
"usage": {
"available": 2388000726016,
"total": 2388001816576,
"dedupratio": 100,
"used": 1090560,
"usage_data": 31744.0,
"usage_snapshots": 0,
"usage_total":31744.0
},
"peer": "00000000-0000-0000-0000-000000000000",
"state": "online",
"owner": "tanana",
"asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749"
}
}