DistributedVirtualSwitchPortCriteria

DistributedVirtualSwitchPortCriteria
DistributedVirtualSwitchPortCriteria

The criteria specification for selecting ports.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "dynamicProperty": [
        {
            "_typeName": "string",
            "name": "string",
            "val": {
                "_typeName": "string"
            }
        }
    ],
    "connected": false,
    "active": false,
    "uplinkPort": false,
    "nsxPort": false,
    "scope": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "portgroupKey": [
        "string"
    ],
    "inside": false,
    "portKey": [
        "string"
    ],
    "host": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
dynamicProperty
Optional

Set of dynamic properties.

This property is optional because only the properties of an object that are unknown to a client will be part of this set. This property is not readonly just in case we want to send such properties from a client in the future.

boolean
connected
Optional

If set, only the connected ports are qualified.

boolean
active
Optional

If set, only the active ports are qualified.

boolean
uplinkPort
Optional

If set to true, only the uplink ports are qualified.

If set to false, only non-uplink ports are qualified.

boolean
nsxPort
Optional

If set to true, only the NSX ports are qualified.

If set to false, only non-NSX ports are qualified. NSX ports are ports of NSX port group.

scope
Optional

Reference to an instance of the ManagedEntity managed object.

array of string
portgroupKey
Optional

The keys of the portgroup that is used for the scope of inside.

If this property is unset, it means any portgroup. If inside is unset, this property is ignored.

boolean
inside
Optional

If unset, all ports in the switch are qualified.

If set to true, only ports inside portgroupKey or any portgroup, if not set, are qualified. If set to false, only ports outside portgroupKey or any portgroup, if not set, are qualified.

array of string
portKey
Optional

If set, only the ports of which the key is in the array are qualified.

host
Optional

If set, only the ports that are present in one of the host are qualified.