Get Hardware Boot
Returns the boot-related settings of a virtual machine.
Request
URLURL
Path Parameters
Path Parameters
Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Boot-related settings of the virtual machine.
{
"delay": 0,
"efi_legacy_boot": false,
"enter_setup_mode": false,
"network_protocol": "IPV4",
"retry": false,
"retry_delay": 0,
"type": "BIOS"
}
Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode.
Flag indicating whether the firmware boot process will automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode.
Flag indicating whether the virtual machine will automatically retry the boot process after a failure.
Delay in milliseconds before retrying the boot process after a failure; applicable only when Boot.Info.retry is true.
The Boot.Type enumerated type defines the valid firmware types for a virtual machine.
BIOS : Basic Input/Output System (BIOS) firmware.
EFI : Extensible Firmware Interface (EFI) firmware.
Possible values are: BIOS , EFI
Flag indicating whether to use EFI legacy boot mode. This field is optional and it is only relevant when the value of Boot.Info.type is EFI.
The Boot.NetworkProtocol enumerated type defines the valid network boot protocols supported when booting a virtual machine with EFI firmware over the network.
IPV4 : PXE or Apple NetBoot over IPv4.
IPV6 : PXE over IPv6.
Possible values are: IPV4 , IPV6
Errors
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have the required privileges.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request. | com.vmware.vapi.std.errors.resource_inaccessible : if the virtual machine’s configuration state cannot be accessed.
com.vmware.vapi.std.errors.service_unavailable : if the system is unable to communicate with a service to complete the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/vcenter/vm/{vm}/hardware/boot
x-vmw-doc-operation: get