システム上の使用可能なレプリケーションターゲットをすべて一覧表示します。
リクエストの例:
GET /api/service/v1/services/replication/targets HTTP/1.1 Host: zfssa-storage.example.com:215 Authorization: Basic ab6rt4psMWE= Accept: application/json
レスポンスの例:
HTTP/1.1 200 OK X-Zfssa-Replication-Api: 1.0 Content-Type: application/json Content-Length: 529 { "targets": [{ "actions": 0, "address": "10.80.231.52:216", "asn": "fa5bf303-0dcb-e20d-ac92-cd129ccd2c81", "hostname": "luxor", "href": "/service/v1/services/replication/targets/target-000", "label": "luxor" }] }