Host Boot Device System Query Boot Devices
Retrieves a list of the available boot devices for the host system.
Required privileges: System.Read
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostBootDeviceSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
The boot device information for the host. The returned object has a list of HostBootDevice data objects; each boot device object defines a description and a key to identify the device. The order of devices in the list is unpredictable. The returned HostBootDeviceInfo data object also contains the key of the current boot device.
{
"0": "H",
"1": "o",
"2": "s",
"3": "t",
"4": "B",
"5": "o",
"6": "o",
"7": "t",
"8": "D",
"9": "e",
"10": "v",
"11": "i",
"12": "c",
"13": "e",
"14": "I",
"15": "n",
"16": "f",
"17": "o",
"18": " ",
"19": "O",
"20": "b",
"21": "j",
"22": "e",
"23": "c",
"24": "t"
}
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/HostBootDeviceSystem/{moId}/QueryBootDevices