# Enum - DistributedVirtualPortgroupPortgroupType(vim.dvs.DistributedVirtualPortgroup.PortgroupType)

Since
  vSphere API 4.0

## Enum Description

The DistributedVirtualPortgroupPortgroupType enum defines the distributed virtual portgroup types (DistributedVirtualPortgroup.Config.type). Early binding specifies a static set of ports that are created when you create the distributed virtual portgroup. An ephemeral portgroup uses dynamic ports that are created when you power on a virtual machine.

Enum Constants

Name | Description
--- | ---
earlyBinding | A free DistributedVirtualPort will be selected and assigned to a VirtualMachine when the virtual machine is reconfigured to connect to the portgroup.
ephemeral | A DistributedVirtualPort will be created and assigned to a VirtualMachine when the virtual machine is powered on, and will be deleted when the virtual machine is powered off. An ephemeral portgroup has no limit on the number of ports that can be a part of this portgroup. In cases where the vCenter Server is unavailable the host can create conflict ports in this portgroup to be used by a virtual machine at power on.
lateBinding | A free DistributedVirtualPort will be selected and assigned to a VirtualMachine when the virtual machine is powered on.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DistributedVirtualPortgroupPortgroupType"> <restriction base="xsd:string"> <enumeration value="earlyBinding"/> <enumeration value="lateBinding"/> <enumeration value="ephemeral"/> </restriction> </simpleType>