SEND US FEEDBACK!
vSphere API/SDK Documentation > vSphere Management SDK > vSphere Web Services SDK Documentation > VMware vSphere API Reference > Managed Object Types > H
  • 0 Ratings

Managed Object - HostVirtualNicManager(vim.host.VirtualNicManager)

Property of
HostConfigManager
Extends
ExtensibleManagedObject
See also
HostVirtualNicManagerInfo, VirtualNicManagerNetConfig
Since
vSphere API 4.0


Managed Object Description

The VirtualNicManager managed object describes the special Virtual NIC configuration of the host.

Properties

Name Type Description
infoHostVirtualNicManagerInfo

Network configuration.
Properties inherited from ExtensibleManagedObject
availableField, value

Methods

Methods defined in this Managed Object
DeselectVnicForNicType, QueryNetConfig, SelectVnicForNicType
Methods inherited from ExtensibleManagedObject
setCustomValue

DeselectVnicForNicType(deselectVnic)

Deselect the VirtualNic to be a special type.
Required Privileges
Host.Config.Network

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostVirtualNicManager used to make the method call.
nicTypexsd:string

The type of VirtualNic that would be deselected
devicexsd:string

The device that uniquely identifies the VirtualNic.

Return Value

Type Description
None

Faults

Type Description
HostConfigFaultThrown for any other failure.
InvalidArgumentThrown if nicType is invalid, device represents a nonexistent or invalid VirtualNic, or the VirtualNic is not selected
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



QueryNetConfig(queryNetConfig)

Get the NetConfig for the specified nicType
Required Privileges
Host.Config.Network

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostVirtualNicManager used to make the method call.
nicTypexsd:string

The NicType

Return Value

Type Description
VirtualNicManagerNetConfig

Faults

Type Description
HostConfigFaultThrown for any other failure.
InvalidArgumentThrown if nicType is invalid
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



SelectVnicForNicType(selectVnic)

Select the NicType of the VirtualNic. Selecting a device automatically deselects the previous selection if NetConfig#multiSelectAllowed is false for the specified nicType. Else, the device is added to the list of selected nics.
Required Privileges
Host.Config.Network

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostVirtualNicManager used to make the method call.
nicTypexsd:string

The type of VirtualNic that would be selected
devicexsd:string

The device that uniquely identifies the VirtualNic.

Return Value

Type Description
None

Faults

Type Description
HostConfigFaultThrown for any other failure.
InvalidArgumentThrown if nicType is invalid, or device represents a nonexistent or invalid VirtualNic
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition






Feedback

  • 0 Ratings