Managed Object - VslmStorageLifecycleManager(vslm.StorageLifecycleManager)

Property of
VslmServiceInstanceContent
See also
VslmQueryDatastoreInfoResult
Since
VSLM API 6.7.2


Managed Object Description

Interface to manage storage inventory in VSLM service. VSLM maintains inventory of VStorageObjects present on all the datastores connected to VC. If there is a change in datastore membership in VC that has to be updated in VSLM as well. APIs in this class are called as callback functions when Datastore membership in VC changes.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
VslmQueryDatastoreInfo, VslmSyncDatastore

VslmQueryDatastoreInfo(queryDatastoreInfo)

Query the mapping of Datacenter and Datastore for a specified datastore url.
Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VslmStorageLifecycleManager used to make the method call.
datastoreUrl Pxsd:string

The datastore URL as specified in url

Since VSLM API 6.7.2
P Required privilege: datastoreUrl

Return Value

Type Description
VslmQueryDatastoreInfoResult[]Returns array of VslmQueryDatastoreInfoResult representing the mapping between datastores and datacenters.

Faults

Type Description
NotFoundThrown if the specified datastoreUrl cannot be found.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VslmFaultThrown if a VSLM internal server error occurred.

Events

Type
None

Show WSDL type definition



VslmSyncDatastore(syncDatastore)

Sync the FCD info on the passed in datastore.
Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VslmStorageLifecycleManager used to make the method call.
datastoreUrl Pxsd:string

The datastore URL as specified in url

Since VSLM API 6.7.2
fullSync Pxsd:boolean

If this is set to true, all information for this datastore will be discarded from the catalog and reloaded from the datastore's catalog

Since VSLM API 6.7.2
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
InvalidDatastoreThrown if the operation cannot be performed on the datastore.
NotFoundThrown if matching datastore could not be found for the given datastoreMoId.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VslmFaultThrown if a VSLM internal server error occurred.
VslmSyncFaultThrown if an exception occured during datastore sync.

Events

Type
None

Show WSDL type definition