현재 클러스터 구성 상태 및 리소스 등록 정보를 가져옵니다.
요청 예:
GET /api/hardware/v1/cluster HTTP/1.1 Authorization: Basic abcd45sMWE= Host: tanana:215 Accept: application/json
응답 예:
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 529 X-Zfssa-Api: 1.0 { "cluster": { "description": "Clustering is not configured", "peer_asn": "", "peer_description": "", "peer_hostname": "", "peer_state": "", "resources": { "net/ixgbe0": { "details": ["10.80.231.58"], "href": "/hardware/v1/cluster/resources/resources/net/ixgbe0", "owner": "tanana", "type": "singleton", "user_label": "Untitled Interface" }, "zfs/gold": { "details": ["821G"], "href": "/hardware/v1/cluster/resources/resources/zfs/gold", "owner": "tanana", "type": "singleton", "user_label": "" } }, "state": "AKCS_UNCONFIGURED" } }