Service - ApplicationIcon

Class
VMware.Hv.ApplicationIcon
See also
ApplicationIconId, ApplicationIconInfo, ApplicationId
Since
Horizon View 6.0


Service Description

Service that represents ApplicationIcon. These are not explicitly managed by View administrator. However, the interface is required for performance reasons: while fetching Applications, icon image data is not included, and client must separately request icons.

Methods

Methods defined in this Service
ApplicationIcon_Get, ApplicationIcon_GetByApplications, ApplicationIcon_GetInfos

ApplicationIcon_Get

Get an ApplicationIcon by Id.

Privileges

Privilege Description
POOL_VIEW privilege is required on at-least one Application (that the ApplicationIconId represents) to get ApplicationIconInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ApplicationIcon used to make the method call.
idApplicationIconId

entityId of ApplicationIcon to get.

Return Value

Type Description
ApplicationIconInforequested ApplicationIcon entity.

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



ApplicationIcon_GetByApplications

List all ApplicationIcons used by the given Application entityIDs. If an Application has multiple icons, the icon with the closest size matching height and width is chosen.

Privileges

Privilege Description
POOL_VIEW privilege is required for each of the Applications in ApplicationId array to get the ApplicationIconInfo array.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ApplicationIcon used to make the method call.
heightxsd:int

Icon height.
widthxsd:int

Icon width.
idsApplicationId[]

Array of entityId of the Applications whose ApplicationIcons are being requested.

Return Value

Type Description
ApplicationIconInfo[]The array of ApplicationIcons associated with the specified Applications. The array index order matches with entityIds array.

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.
PartialFailureFaultThrown if one or more Applications do not have any associated icons to select from. The PartialFailureFault contains an array of Objects. Each Object is either (a) ApplicationIconInfo for applications that have at least one icon, and thus return a matching icon or (b) EntityNotFound for applications that have no icons associated.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition



ApplicationIcon_GetInfos

Get all ApplicationIcons for the given ApplicationIcon entityIds

Privileges

Privilege Description
POOL_VIEW privilege is required on at-least one Application (that each ApplicationIconId represents) to get ApplicationIconInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ApplicationIcon used to make the method call.
idsApplicationIconId[]

Array of entityId of the ApplicationIcon

Return Value

Type Description
ApplicationIconInfo[]The list of ApplicationIcons associated with the specified ApplicationIcon entityIDs

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