HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 76
Querying a Single VLUN, Single-VLUN Query Success
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 76 highlights
Querying a Single VLUN To query a single VLUN, use the HTTP GET method on the following URL: https://:8080/api/v1/vluns/ where: • is the VLUN identifier returned in the location header after the VLUN was created. • format can be one of the following: ◦ ,,, ◦ ,, ◦ ,, The and fields are mandatory. The and fields are optional, but one or both of them must be specified. NOTE: The use of patterns or sets in querying volumes and hosts is not supported in WSAPI 1.2. In order to query a single instance of a VLUN object, the specific volume name and host name must be specified. Single-VLUN Query Success Upon a successful VLUN query, the HTTP code 200 OK is returned. Table 74 Message Body JSON Objects for Single-VLUN Query Response Member total JSON Type number API Type int32 Description Number of VLUN objects returned. members array of objects array of VLUN Property objects VLUN properties. (Since WSAPI 1.2 As with all collection queries, the total is the number objects in the collection. NOTE: If no VLUN is specified with the volume name, LUN, and host and/or port, a NON_EXISTENT_VLUN error is returned. The members object is a JSON array of zero or more JSON objects as listed in Table 75 (page 76). Table 75 JSON Objects for members object in Single-VLUN Query Response Member lun JSON Type number API Type int32 Description LUN ID. (Since WSAPI 1.2) volumeName string name31 Volume name. (Since WSAPI 1.2) hostname string name31 Host name. (Since WSAPI 1.2) remoteName string name31 Host WWN, or iSCSI name, or SAS addr, depending on the port type. 76 Working with Virtual LUNs