Service - ImageManagementTag

Class
VMware.Hv.ImageManagementTag
See also
ImageManagementTagBase, ImageManagementTagId, ImageManagementTagInfo, ImageManagementTagQuerySpec, MapEntry
Since
Horizon 7.10


Service Description

The service interface for managing Image Management Tags.

Methods

Methods defined in this Service
ImageManagementTag_CreateTags, ImageManagementTag_Delete, ImageManagementTag_Get, ImageManagementTag_ListBySpec, ImageManagementTag_Update

ImageManagementTag_CreateTags

Adds multiple image management tags.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management is required to create a image management tag.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementTag used to make the method call.
basesImageManagementTagBase[]

attributes needed to add multiple image management tags.

Return Value

Type Description
ImageManagementTagId[]Array of entity ids of each image management tag.

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 all operations were not successful, a PartialFailureFault will be thrown indicating which tags were successfully added and which ones failed. The index of results in the PartialFailureFault correspond to the index of the original tag. The result entry will contain either the original return type (on success) or an exception (on failure).
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Events

Event Description
VLSI_IM_TAG_ADDED For every image management tag successfully created.
VLSI_IM_TAG_ADD_FAILED For every image management tag that could not be created.

Show WSDL type definition



ImageManagementTag_Delete

Delete an image management tag. Allowed only if the Tag is not in use.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management is required to delete a image management tag.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementTag used to make the method call.
idImageManagementTagId

entity id of the image management tag entry.

Return Value

Type Description
None

Faults

Type Description
EntityInUseThrown if a desktop/farm is associated with this image management tag.
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.

Events

Event Description
VLSI_IM_TAG_DELETED If the image management tag was successfully deleted.
VLSI_IM_TAG_DELETE_FAILED If the image management tag delete fails.

Show WSDL type definition



ImageManagementTag_Get

Gets the image management tag information (primarily the list of attributes about configured image management tag). Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration view is required to get a image management tag.
VC_CONFIG_VIEW privilege is required to get a image management tag.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementTag used to make the method call.
idImageManagementTagId

entity id of the image management tag entry.

Return Value

Type Description
ImageManagementTagInfoImageManagementTagInfo (attributes about configured Image Management Tag).

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



ImageManagementTag_ListBySpec

Gets list of only those image management tags of a given image management stream, whose version is in AVAILABLE or PARTIALLY_AVAILABLE state and asset of the given virtual center is in AVAILABLE status and has asset for given provisioning type. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration view is required to list image management tags.
VC_CONFIG_VIEW privilege is required to list image management tags.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementTag used to make the method call.
specImageManagementTagQuerySpec



Return Value

Type Description
ImageManagementTagInfo[]list of image management tags

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



ImageManagementTag_Update

Update image management tag with the set of attributes.

Privileges

Privilege Description
GLOBAL_CONFIG_MANAGEMENT Global configuration management is required to update a image management tag.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementTag used to make the method call.
idImageManagementTagId

entity id of the image management tag entry.
updatesMapEntry[]

key value pairs describing attributes to be updated

Return Value

Type Description
None

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.

Events

Event Description
VLSI_IM_TAG_UPDATED If the image management tag was successfully updated.
VLSI_IM_TAG_UPDATE_FAILED If the image management tag update fails.

Show WSDL type definition