Service - NetworkInterfaceCard

Class
VMware.Hv.NetworkInterfaceCard
See also
BaseImageSnapshotId, NetworkInterfaceCardInfo, VmTemplateId
Since
Horizon View 6.0


Service Description

The service for fetching network interface cards (NICs) from VirtualCenter.

Methods

Methods defined in this Service
NetworkInterfaceCard_ListBySnapshot, NetworkInterfaceCard_ListByTemplate

NetworkInterfaceCard_ListBySnapshot

Returns a list of network interface cards (NICs) present on the given snapshot suitable for configuration on a linked-clone desktop based on a parent image with that snapshot. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the NICs.
VC_CONFIG_VIEW privilege is required to get the NICs.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the NetworkInterfaceCard used to make the method call.
baseImageSnapshotBaseImageSnapshotId

The BaseImageSnapshot id

Return Value

Type Description
NetworkInterfaceCardInfo[]An array of NetworkInterfaceCardInfos

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition



NetworkInterfaceCard_ListByTemplate

Returns a list of network interface cards (NICs) present on the given template suitable for configuration on a full-clone desktop based on a parent image with that template. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the NICs.
VC_CONFIG_VIEW privilege is required to get the NICs.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the NetworkInterfaceCard used to make the method call.
templateVmTemplateId

The template id

Return Value

Type Description
NetworkInterfaceCardInfo[]An array of NetworkInterfaceCardInfos

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition