Service - ImageManagementStream

Class
VMware.Hv.ImageManagementStream
See also
ImageManagementStreamBase, ImageManagementStreamId, ImageManagementStreamInfo, ImageManagementStreamQuerySpec, MapEntry
Since
Horizon 7.10


Service Description

The service interface for managing Image Management Streams.

Methods

Methods defined in this Service
ImageManagementStream_CreateStreams, ImageManagementStream_Delete, ImageManagementStream_Get, ImageManagementStream_ListBySpec, ImageManagementStream_Update

ImageManagementStream_CreateStreams

Adds multiple image management streams.

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementStream used to make the method call.
basesImageManagementStreamBase[]

attributes needed to add multiple image management streams.

Return Value

Type Description
ImageManagementStreamId[]Array of entity ids of each image management stream.

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 streams were successfully added and which ones failed. The index of results in the PartialFailureFault correspond to the index of the original stream. 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_STREAM_ADDED For every image management stream successfully created.
VLSI_IM_STREAM_ADD_FAILED For every image management stream that could not be created.

Show WSDL type definition



ImageManagementStream_Delete

Delete an image management stream. Allowed only if the Stream is not in use.

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementStream used to make the method call.
idImageManagementStreamId

entity id of the image management stream entry.

Return Value

Type Description
None

Faults

Type Description
EntityInUseThrown if a desktop/farm is associated with this image management stream.
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_STREAM_DELETED If the image management stream was successfully deleted.
VLSI_IM_STREAM_DELETE_FAILED If the image management stream delete fails.

Show WSDL type definition



ImageManagementStream_Get

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

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementStream used to make the method call.
idImageManagementStreamId

entity id of the image management stream entry.

Return Value

Type Description
ImageManagementStreamInfoImageManagementStreamInfo (attributes about configured Image Management Stream).

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



ImageManagementStream_ListBySpec

Returns list of image management streams based on the spec. Requires at least one of the listed privileges.

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementStream used to make the method call.
specImageManagementStreamQuerySpec

query spec for filtering image management stream.

Return Value

Type Description
ImageManagementStreamInfo[]list of image management streams.

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



ImageManagementStream_Update

Update image management stream with the set of attributes.

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ImageManagementStream used to make the method call.
idImageManagementStreamId

entity id of the image management stream 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_STREAM_UPDATED If the image management stream was successfully updated.
VLSI_IM_STREAM_UPDATE_FAILED If the image management stream update fails.

Show WSDL type definition