VMware

Network Namespace

The Network namespace provides commands for manipulating a vCenter Server network.

List of commands:



List Command

dcli com vmware vcenter network list

Description

Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec.

Options

Option Name Type Required Description
networks string No Identifiers of networks that can match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: Network. When commands return a value of this class as a output, the option will contain identifiers for the resource type: Network. If unset or empty, networks with any identifier match the filter.
names string No Names that networks must have to match the filter (see Network.Summary.name). If unset or empty, networks with any name match the filter.
types string No Types that networks must have to match the filter (see Network.Summary.type). If unset, networks with any type match the filter. Valid values are: {STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, OPAQUE_NETWORK}
folders string No Folders that must contain the network for the network to match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: Folder. When commands return a value of this class as a output, the option will contain identifiers for the resource type: Folder. If unset or empty, networks in any folder match the filter.
datacenters string No Datacenters that must contain the network for the network to match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: Datacenter. When commands return a value of this class as a output, the option will contain identifiers for the resource type: Datacenter. If unset or empty, networks in any datacenter match the filter.

Example

dcli com vmware vcenter network list