NamespaceManagement_Networks_Nsx_DistributedSwitches_FilterSpec

NamespaceManagement_Networks_Nsx_DistributedSwitches_FilterSpec
NamespaceManagement_Networks_Nsx_DistributedSwitches_FilterSpec

The DistributedSwitches.FilterSpec structure contains fields used to filter the results when listing Distributed Switches (see DistributedSwitches.list).

JSON Example
{
    "compatible": false,
    "zones": [
        "string"
    ]
}
boolean
compatible
Optional

Compatibility criteria. If true, only Distributed Switches compatible with the vSphere Namespaces will be returned. If false, only Distributed Switches incompatible with the vSphere Namespaces will be returned. If unset, both compatible and incompatible Distributed Switches will be returned.

array of string
zones
Required

Zone compatibility criteria. If zones are specified, the common distributed switches across the given zones will returned. A distributed switch is considered common if it is present in all of the vSphere clusters in a given zone. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.consumption_domains.Zone. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.consumption_domains.Zone.