Managed Object - HostFirmwareSystem

Property of
HostConfigManager
Since
VI API 2.5


Managed Object Description

The HostFirmwareSystem managed object type provides access to the firmware of an embedded ESX host. It provides operations to backup, restore, and reset the configuration of an embedded ESX host.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
BackupFirmwareConfiguration, QueryFirmwareConfigUploadURL, ResetFirmwareToFactoryDefaults, RestoreFirmwareConfiguration

BackupFirmwareConfiguration

Backup the configuration of the host.

The method generates a bundle containing the host configuration. You can use an HTTP GET operation to download the bundle from the returned URL.

Required Privileges
Host.Config.Firmware

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostFirmwareSystem used to make the method call.

Return Value

Type Description
xsd:stringURL that identifies the location of the backup bundle.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



QueryFirmwareConfigUploadURL

Return the URL on the host to which the configuration bundle must be uploaded for a restore operation. See RestoreFirmwareConfiguration.
Required Privileges
Host.Config.Firmware

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostFirmwareSystem used to make the method call.

Return Value

Type Description
xsd:stringURL that identifies the location for the restore operation.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



ResetFirmwareToFactoryDefaults

Reset the configuration to factory defaults.

This method will reset all configuration options, including the "admin" password, to the factory defaults. The host will be rebooted immediately. The host needs to be in maintenance mode before this operation can be performed.

Required Privileges
Host.Config.Firmware

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostFirmwareSystem used to make the method call.

Return Value

Type Description
None

Faults

Type Description
InvalidStateThrown if the host is not in maintenance mode.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



RestoreFirmwareConfiguration

Restore the configuration of the host to that specified in the bundle.

Upload the bundle to the URL returned by the QueryFirmwareConfigUploadURL method. The RestoreFirmwareConfiguration method will restore all configuration options, including the "admin" password, to the values in the bundle. The host will be rebooted immediately. The host must be in maintenance mode before this operation can be performed.

Required Privileges
Host.Config.Firmware

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostFirmwareSystem used to make the method call.
forcexsd:boolean

Forces application of the configuration even if the bundle is mismatched.

Return Value

Type Description
None

Faults

Type Description
FileFaultThrown if the file was not accessible.
InvalidBundleThrown if the bundle does not have the expected contents.
InvalidStateThrown if the host is not in maintenance mode.
MismatchedBundleThrown if the uuid / build number in the bundle does not match the uuid / build number of the host and parameter 'force' is set to false.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition