指定Volumeに関するHost Connection情報の取得

GET /connection/volume/{volume_id}

概要説明

volume_idで指定したVolumeに関するConnectionを取得します。

リクエスト例

  • Volume ID 100000 のVolumeに設定されているConnection情報ついて、Volume IDとHost Listのみ取得する場合の例です。

    $ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/connection/volume/100000?fields=host_href_list"

レスポンス例

{
  "volume_id": 100001,
  "volume_href": "/api/v1/volume/100001",
  "host_href_list": [
    "/api/v1/host/1",
    "/api/v1/host/2",
    "/api/v1/host/3"
  ],
  "connection_href_list": [
    "/api/v1/connection/host/1/volume/100001",
    "/api/v1/connection/host/3/volume/100001"
  ]
}

Parameters

PATH PARAMETERS

volume_id

(required)

integer

Volume ID。

QUERY PARAMETERS

fields

Array of strings

表示したいParameter。

指定したParameter名(Response Body Parameter)の情報のみを抜き出して取得します。

指定方法の詳細は、表示する項目の絞り込みを参照してください。

Responses

正常に取得できた場合、HTTPステータスコードが200 (OK)となりレスポンスボディを応答します。

RESPONSE BODY

volume_id

integer

Volume ID。

volume_href

string

Volume ResourceへのLink。

volume_name

string

VolumeのFriendly Name。

host_href_list

Array of strings

Host ResourceへのLink。

connection_href_list

Array of strings

Connection ResourceへのLink。

同じLUN Groupを参照しているHostのConnectionは1つにまとめられます。

指定VolumeのConnectionをすべて削除したい場合は、このLinkにforce=trueパラメーターを付与しDELETEを行ってください。