Service - Validator

Class
VMware.Hv.Validator
See also
ValidationResponse, ValidationSpec
Since
Horizon 7.8


Service Description

Methods

Methods defined in this Service
Validator_validateName

Validator_validateName

Validates the name provided in the spec. If the type is:
  • DESKTOP: validates if the name is unique among existing desktops, farms and applications.
  • FARM: validates if the name is unique among existing desktops and farms.
  • APPLICATION: validates if the name is unique among existing desktops and applications.
  • MACHINE: validates if the naming pattern is unique among existing desktops and farms.
  • Parameters

    NameTypeDescription
    _thisManagedObjectReference A reference to the Validator used to make the method call.
    specValidationSpec

    The specification for the resource to be validated.

    Return Value

    Type Description
    ValidationResponseThe ValidationResponse.

    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