Scripting Object - VcHostVirtualNicManager

Scripting-object corresponding to
HostVirtualNicManager
Attribute of
VcHostConfigManager

Scripting Object Description

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

Attributes

Name Type Description
availableFieldVcCustomFieldDef []

@since VI API 2.5
idString

@since Unknown
infoVcHostVirtualNicManagerInfo

@since vSphere API 4.0
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
valueVcCustomFieldValue []

@since VI API 2.5
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, createTrigger, deselectVnicForNicType, queryNetConfig, selectVnicForNicType, setCustomValue

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

queryNetConfig

Get the NetConfig for the specified nicType @since vSphere API 4.0

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
VcVirtualNicManagerNetConfig

selectVnicForNicType

Select the NicType of the VirtualNic. Selecting a device automatically deselects the previous selection if {@link NetConfig#multiSelectAllowed} is false for the specified nicType. Else, the device is added to the list of selected nics. @since vSphere API 4.0

Parameters

NameTypeDescription
arg0String

arg1String


Return Value

Type Description
None

deselectVnicForNicType

Deselect the VirtualNic to be a special type. @since vSphere API 4.0

Parameters

NameTypeDescription
arg0String

arg1String


Return Value

Type Description
None

setCustomValue

Assigns a value to a custom field. The setCustomValue method requires whichever updatePrivilege is defined as one of the {@link CustomFieldsManager.FieldDef#fieldInstancePrivileges} for the CustomFieldDef whose value is being changed. @since VI API 2.5

Parameters

NameTypeDescription
arg0String

arg1String


Return Value

Type Description
None