# Data Object - DVPortSetting(vim.dvs.DistributedVirtualPort.Setting)

Property of
  DVPortConfigInfo, DVPortConfigSpec, DVPortgroupConfigInfo, DVPortgroupConfigSpec, DVSConfigInfo, DVSConfigSpec, DVSHostLocalPortInfo
Extended by
  VMwareDVSPortSetting
Extends
  DynamicData
See also
  BoolPolicy, DvsFilterPolicy, DVSTrafficShapingPolicy, DVSVendorSpecificConfig, StringPolicy
Since
  vSphere API 4.0

## Data Object Description

The DVPortSetting data object describes the network configuration of a DistributedVirtualPort.

Properties

Name | Type | Description
--- | --- | ---
blocked* | BoolPolicy | Indicates whether this port is blocked. If a port is blocked, packet forwarding is stopped.
filterPolicy* | DvsFilterPolicy | Configuration for Network Filter Policy. Since vSphere API 5.5
inShapingPolicy* | DVSTrafficShapingPolicy | Network shaping policy for controlling throughput of inbound traffic.
networkResourcePoolKey* | StringPolicy | Deprecated. as of vSphere API 6.0 Use vmVnicNetworkResourcePoolKey instead to reference the virtual NIC network resource pool. The key of user defined network resource pool to be associated with a port. The default value for this property is "-1", indicating that this port is not associated with any network resource pool. Since vSphere API 5.0
outShapingPolicy* | DVSTrafficShapingPolicy | Network shaping policy for controlling throughput of outbound traffic.
vendorSpecificConfig* | DVSVendorSpecificConfig | Opaque binary blob that stores vendor specific configuration.
vmDirectPathGen2Allowed* | BoolPolicy | Deprecated. As of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and there is no replacement. Indicates whether this port is allowed to do VMDirectPath Gen2 network passthrough. Direct path capability is defined at host, switch, and device levels. See the `vmDirectPathGen2Supported` properties on the DVSFeatureCapability, HostCapability, PhysicalNic, and VirtualEthernetCardOption objects. Since vSphere API 4.1
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="DVPortSetting"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="blocked" type="sms:BoolPolicy" minOccurs="0"/> <element name="vmDirectPathGen2Allowed" type="sms:BoolPolicy" minOccurs="0"/> <element name="inShapingPolicy" type="sms:DVSTrafficShapingPolicy" minOccurs="0"/> <element name="outShapingPolicy" type="sms:DVSTrafficShapingPolicy" minOccurs="0"/> <element name="vendorSpecificConfig" type="sms:DVSVendorSpecificConfig" minOccurs="0"/> <element name="networkResourcePoolKey" type="sms:StringPolicy" minOccurs="0"/> <element name="filterPolicy" type="sms:DvsFilterPolicy" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>