Service - SpaceReclamation

Class
VMware.Hv.SpaceReclamation
See also
ServerDefinition, VirtualCenterId
Since
Horizon View 6.0


Service Description

The object for fetching space reclamation attributes from virtual center.

Methods

Methods defined in this Service
SpaceReclamation_IsSupportedByServerDefinition, SpaceReclamation_IsSupportedByVirtualCenter

SpaceReclamation_IsSupportedByServerDefinition

Determines whether space reclamation is supported for the given virtual center. Using a ServerDefinition allows querying the server before it has been added to the broker.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration (read-only) is required to get whether space reclamation is supported.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SpaceReclamation used to make the method call.
serverDefinitionServerDefinition

Details (ip, user, passord, etc.) needed to connect to a server.

Return Value

Type Description
xsd:stringA code that determines whether space reclamation is supported.
  • This property will be one of:
    Value Description
    "SR_VALIDATION_OK"Virtual center supports space reclamation.
    "SR_UNSUPPORTED_VC"Virtual center does not support space reclamation.
    "SR_RECLAMATION_DISABLED"The feature has been disabled for the virtual center.
    "SR_FEATURE_DISABLED"Space reclamation has been disabled globally.

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



SpaceReclamation_IsSupportedByVirtualCenter

Determines whether space reclamation is supported for the given virtual center.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW Global configuration (read-only) is required to get whether space reclamation is supported.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SpaceReclamation used to make the method call.
virtualCenterVirtualCenterId

unique identifier for vc entry

Return Value

Type Description
xsd:stringA code that determines whether space reclamation is supported.
  • This property will be one of:
    Value Description
    "SR_VALIDATION_OK"Virtual center supports space reclamation.
    "SR_UNSUPPORTED_VC"Virtual center does not support space reclamation.
    "SR_RECLAMATION_DISABLED"The feature has been disabled for the virtual center.
    "SR_FEATURE_DISABLED"Space reclamation has been disabled globally.

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