# Enum - VAppIPAssignmentInfoIpAllocationPolicy(vim.vApp.IPAssignmentInfo.IpAllocationPolicy)

Since
  vSphere API 4.0

## Enum Description

IP allocation policy for a deployment.

Enum Constants

Name | Description
--- | ---
dhcpPolicy | Specifies that DHCP must be used to allocate IP addresses to the vApp
fixedAllocatedPolicy | Specifies that IP allocation is done through the range managed by the VI platform. The IP addresses are allocated at first power-on, and remain allocated at power-off. This will ensure that a vApp gets a consistent IP for its life-time. Since vSphere API 5.1
fixedPolicy | Specifies that IP addresses are configured manually when the vApp is deployed and will be kept until reconfigured or the vApp destroyed. This will ensure that a vApp gets a consistent IP for its life-time.
transientPolicy | Specifies that IP allocation is done through the range managed by the vSphere platform. The IP addresses are allocated when needed, typically at power-on, and deallocated during power-off. There is no guarantee that a vApp will get the same IP address when restarted.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VAppIPAssignmentInfoIpAllocationPolicy"> <restriction base="xsd:string"> <enumeration value="dhcpPolicy"/> <enumeration value="transientPolicy"/> <enumeration value="fixedPolicy"/> <enumeration value="fixedAllocatedPolicy"/> </restriction> </simpleType>