DVPortSetting

DVPortSetting
DVPortSetting

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "blocked": {
        "_typeName": "string",
        "inherited": false,
        "value": false
    },
    "vmDirectPathGen2Allowed": {
        "_typeName": "string",
        "inherited": false,
        "value": false
    },
    "inShapingPolicy": {
        "_typeName": "string",
        "inherited": false,
        "enabled": {
            "_typeName": "string",
            "inherited": false,
            "value": false
        },
        "averageBandwidth": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        },
        "peakBandwidth": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        },
        "burstSize": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        }
    },
    "outShapingPolicy": {
        "_typeName": "string",
        "inherited": false,
        "enabled": {
            "_typeName": "string",
            "inherited": false,
            "value": false
        },
        "averageBandwidth": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        },
        "peakBandwidth": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        },
        "burstSize": {
            "_typeName": "string",
            "inherited": false,
            "value": 0
        }
    },
    "vendorSpecificConfig": {
        "_typeName": "string",
        "inherited": false,
        "keyValue": [
            {
                "_typeName": "string",
                "key": "string",
                "opaqueData": "string"
            }
        ]
    },
    "networkResourcePoolKey": {
        "_typeName": "string",
        "inherited": false,
        "value": "string"
    },
    "filterPolicy": {
        "_typeName": "string",
        "inherited": false,
        "filterConfig": [
            {
                "_typeName": "string",
                "inherited": false,
                "key": "string",
                "agentName": "string",
                "slotNumber": "string",
                "parameters": {
                    "_typeName": "string",
                    "parameters": [
                        "string"
                    ]
                },
                "onFailure": "string"
            }
        ]
    }
}
blocked
Optional

Indicates whether this port is blocked.

If a port is blocked, packet forwarding is stopped.

vmDirectPathGen2Allowed
Optional

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.

inShapingPolicy
Optional

Network shaping policy for controlling throughput of inbound traffic.

outShapingPolicy
Optional

Network shaping policy for controlling throughput of outbound traffic.

vendorSpecificConfig
Optional

Opaque binary blob that stores vendor specific configuration.

networkResourcePoolKey
Optional

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.

filterPolicy
Optional

Configuration for Network Filter Policy.