# Managed Object - HostPowerSystem(vim.host.PowerSystem)

Property of
  HostConfigManager
See also
  PowerSystemCapability, PowerSystemInfo
Since
  vSphere API 4.1

## Managed Object Description

Managed object responsible for getting and setting host power management policies.

Properties

Name | Type | Description
--- | --- | ---
capability P | PowerSystemCapability | Power system capabilities object.
info P | PowerSystemInfo | Power system state info object.

P Required privilege: Host.Config.Power

Methods

Methods defined in this Managed Object
ConfigurePowerPolicy

# ConfigurePowerPolicy(configurePolicy)

Configure host power policy.

Required Privileges
  Host.Config.Power

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPowerSystem used to make the method call.
key | xsd:int | A key from one of the policies in availablePolicy.

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
HostConfigFault | Thrown for any other failure.
InvalidArgument | Thrown if an invalid power policy key is provided.
RuntimeFault | Thrown 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
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ConfigurePowerPolicy" type="vsan:ConfigurePowerPolicyRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ConfigurePowerPolicyResponse"> <complexType/> </element>