# Data Object - HostOpaqueSwitch(vim.host.OpaqueSwitch)

Property of
  HostNetworkInfo
Extends
  DynamicData
See also
  HostOpaqueSwitchPhysicalNicZone, HostVirtualNic, OptionValue, PhysicalNic
Since
  vSphere API 5.5

## Data Object Description

The OpaqueSwitch contains basic information about virtual switches that are managed by a management plane outside of vSphere.

Properties

Name | Type | Description
--- | --- | ---
extraConfig* | OptionValue[] | Extra NSX specific properties for opaque switch. Since vSphere API 6.5
key | xsd:string | The opaque switch ID.
name* | xsd:string | The opaque switch name.
pnic* | xsd:string[] | The set of physical network adapters associated with this switch.
pnicZone* | HostOpaqueSwitchPhysicalNicZone[] | The IDs of networking zones associated with this switch. Since vSphere API 6.0
status* | xsd:string | Opaque switch status. See OpaqueSwitchState for valid values. Since vSphere API 6.0
vtep* | HostVirtualNic[] | List of VTEPs associated with this switch. Since vSphere API 6.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="HostOpaqueSwitch"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="name" type="xsd:string" minOccurs="0"/> <element name="pnic" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="pnicZone" type="pbm:HostOpaqueSwitchPhysicalNicZone" minOccurs="0" maxOccurs="unbounded"/> <element name="status" type="xsd:string" minOccurs="0"/> <element name="vtep" type="pbm:HostVirtualNic" minOccurs="0" maxOccurs="unbounded"/> <element name="extraConfig" type="pbm:OptionValue" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>