View API
|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Service - NetworkInterfaceCard
- Class
- VMware.Hv.NetworkInterfaceCard
- See also
- BaseImageSnapshotId, BaseImageVmId, 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_ListByBaseImageVm, NetworkInterfaceCard_ListBySnapshot, NetworkInterfaceCard_ListByTemplate |
NetworkInterfaceCard_ListByBaseImageVm
Returns a list of network interface cards (NICs) present on the given base image vm suitable for configuration on a instant-clone desktop. 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
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the NetworkInterfaceCard used to make the method call. |
| baseImageVmId | BaseImageVmId |
The BaseImageVm id
|
Return Value
| Type | Description |
|---|---|
| NetworkInterfaceCardInfo[] | An array of NetworkInterfaceCardInfos |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
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
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the NetworkInterfaceCard used to make the method call. |
| baseImageSnapshot | BaseImageSnapshotId |
The BaseImageSnapshot id
|
Return Value
| Type | Description |
|---|---|
| NetworkInterfaceCardInfo[] | An array of NetworkInterfaceCardInfos |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown 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
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the NetworkInterfaceCard used to make the method call. |
| template | VmTemplateId |
The template id
|
Return Value
| Type | Description |
|---|---|
| NetworkInterfaceCardInfo[] | An array of NetworkInterfaceCardInfos |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
| Top of page | Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |