The following request acquires a list of host modes and host mode options
used for the storage system.
Execution permission
Storage Administrator (View Only)
Request line
GET base-URL/v1/objects/supported-host-modes/instance
Request message
Response message
- Body
-
{ "hostModes": [ { "hostModeId": 0, "hostModeName": "Standard", "hostModeDisplay": "LINUX/IRIX" }, { "hostModeId": 1, "hostModeName": "(Deprecated) VMware", "hostModeDisplay": "VMWARE" } ], "hostModeOptions": [ { "hostModeOptionId": 2, "hostModeOptionDescription": "VERITAS Database Edition/Advanced Cluster" }, { "hostModeOptionId": 6, "hostModeOptionDescription": "TPRLO" } ] }
Attribute
Type
Description
hostModes
object[]
The following attributes related to the host mode are output:
- hostModeId (int)
Host mode number
- hostModeName (string)
Identification name of the host mode
- hostModeDisplay (string)
Host mode value
Value to be used to specify the host mode
hostModeOptions
object[]
The following attributes related to the host mode option are output:
- hostModeOptionId (int)
Host mode option number
- hostModeOptionDescription (string)
Description of the host mode option
- hostModeId (int)
Status codes
For details on the status codes of the request for this operation, see the description of 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/supported-host-modes/instance