Execution permission
Storage Administrator (View Only)
Request line
GET base-URL/v1/objects/host-wwns/object-ID
Request message
- Object ID
-
Specify the hostWwnId value obtained by getting information about the WWN. You can also specify the following attributes and connect them with commas:
portId,hostGroupNumber,hostWwn
Attribute
Type
Description
portId
string
(Required) Port number
hostGroupNumber
int
(Required) The host group number
hostWwn
string
(Required) The WWN of the host bus adapter
Specify the attribute without using colons (:).
Response message
- Body
-
{ "hostWwnId": "CL1-A,0,000000102cceccc9", "portId": "CL1-A", "hostGroupNumber": 0, "hostGroupName": "my@host999", "hostWwn": "000000102cceccc9", "wwnNickname": "Myhostwwnsecret" }
Attribute
Type
Description
hostWwnId
string
Object ID for the WWN
portId
string
Port number
hostGroupNumber
int
Host group number of the port
hostGroupName
string
Host group name of the port
hostWwn
string
WWN of the host bus adapter registered for the host group
wwnNickname
string
WWN nickname
Status codes
For details on the status codes of the request for this operation, see the description on HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/host-wwns/CL1-A,0,000000102cceccc9