NetworkFilterSpec

The Network.FilterSpec structure contains fields used to filter the results when listing networks (see Network.list). If multiple fields are specified, only networks matching all of the fields match the filter.


Properties

array of string
datacenters Optional

Datacenters that must contain the network for the network to match the filter. If unset or empty, networks in any datacenter match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: Datacenter. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Datacenter.


array of string
folders Optional

Folders that must contain the network for the network to match the filter. If unset or empty, networks in any folder match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: Folder. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Folder.


array of string
names Optional

Names that networks must have to match the filter (see Network.Summary.name). If unset or empty, networks with any name match the filter.


array of string
networks Optional

Identifiers of networks that can match the filter. If unset or empty, networks with any identifier match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: Network. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Network.


array of NetworkType Enum
types Optional

The Network.Type enumerated type defines the type of a vCenter Server network. The type of a network can be used to determine what features it supports and which APIs can be used to find more information about the network or change its configuration.
STANDARD_PORTGROUP : vSphere standard portgroup (created and managed on ESX)
DISTRIBUTED_PORTGROUP : Distributed virtual portgroup (created and managed through vCenter)
OPAQUE_NETWORK : A network whose configuration is managed outside of vSphere. The identifer and name of the network is made available through vSphere so that host and virtual machine virtual ethernet devices can connect to them.

Possible values are: STANDARD_PORTGROUPDISTRIBUTED_PORTGROUPOPAQUE_NETWORK

JSON Example

{
	"datacenters": [
		"string"
	],
	"folders": [
		"string"
	],
	"names": [
		"string"
	],
	"networks": [
		"string"
	],
	"types": "STANDARD_PORTGROUP"
}

Feedback

Was this page helpful?