Getting information about the connection between a volume and a specific server

Storage Advisor Embedded Guide

Version
88-06-0x
Audience
anonymous
Part Number
MK-97HM85022-12

The following request gets information about the connection between a volume and a specific server by using a specified volume ID and server ID.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/simple/v1/objects/volume-server-connections/object-ID

Request message

Object ID

Specify the id value obtained by getting information about the connection between the volume and the server. The value of the obtained attribute id appears in the following format, in which the volume ID and the server ID are linked by a comma. You can specify these values (obtained by getting information about the connection between the volume and the server) in the command by using the same format: volumeId followed by serverId, linked by a comma.

volumeId,serverId

Attribute

Type

Description

volumeId

int

(Required) Volume ID

serverId

int

(Required) Server ID

Query parameters
None.
Body
None.

Response message

Body

The following is an example of getting information about the connection between the volume with ID 100 and the server with ID 10:

{
  "id": "100,10",
  "volumeId": 100,
  "serverId": 10,
  "luns": [
    {
      "lun": 1,
      "portId": "CL1-A"
    }
  ]
}

For details on the attributes that are obtained, see the description of the API function for getting information about the connections between volumes and servers.

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X GET https://192.0.2.100/ConfigurationManager/simple/v1/objects/volume-server-connections/100,10