# Managed Object - VslmStorageLifecycleManager(vslm.StorageLifecycleManager)

Property of
  VslmServiceInstanceContent
See also
  ID, VslmQueryDatastoreInfoResult
Since
  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

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VslmStorageLifecycleManager used to make the method call.
datastoreUrl P | xsd:string | The datastore URL as specified in url Since 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
--- | ---
NotFound | Thrown if the specified datastoreUrl cannot be found.
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VslmFault | Thrown if a VSLM internal server error occurred.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="VslmQueryDatastoreInfo" type="vslm:VslmQueryDatastoreInfoRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="VslmQueryDatastoreInfoResponse"> <complexType> <sequence> <element name="returnval" type="vslm:VslmQueryDatastoreInfoResult" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> </element>

# VslmSyncDatastore(syncDatastore)

Sync the FCD info on the passed in datastore.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VslmStorageLifecycleManager used to make the method call.
datastoreUrl P | xsd:string | The datastore URL as specified in url Since 6.7.2
fullSync P | xsd: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 6.7.2
fcdId* P | ID | If set, this call blocks until fcdId is persisited into db if this fcdId is not found in queue, assume persisted and return Since 6.7.2

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
InvalidDatastore | Thrown if the operation cannot be performed on the datastore.
NotFound | Thrown if matching datastore could not be found for the given datastoreMoId.
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VslmFault | Thrown if a VSLM internal server error occurred.
VslmSyncFault | Thrown if an exception occured during datastore sync.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="VslmSyncDatastore" type="vslm:VslmSyncDatastoreRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="VslmSyncDatastoreResponse"> <complexType/> </element>