# Managed Object - SrmPlaceholderDatastoreManager

Property of
  SrmServiceInstanceContent
See also
  SrmPlaceholderDatastoreManagerAddDatastoreResult, SrmPlaceholderDatastoreManagerPlaceholderDatastoreInfo, SrmPlaceholderDatastoreManagerRemoveDatastoreResult
Since
  SRM API 11.0

## Managed Object Description

This object manages placeholder datastores.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
AddDatastore_Task, GetPlaceholderDatastores, SrmPlaceholderDatastoreManager_RemoveDatastore_Task

# AddDatastore_Task

Adds datastore(s) to the list of placeholder datastores.

Required Privileges
  VcDr.PlaceholderDatastoreManager.com.vmware.vcDr.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmPlaceholderDatastoreManager used to make the method call.
datastore* P | vim.Datastore[] | Since SRM API 11.0

*Need not be set P Required privilege: datastore

Return Value

Type | Description
--- | ---
ManagedObjectReference to a SrmExtApiTask |

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# GetPlaceholderDatastores

Get list of all configured placeholder datastores.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmPlaceholderDatastoreManager used to make the method call.

Return Value

Type | Description
--- | ---
SrmPlaceholderDatastoreManagerPlaceholderDatastoreInfo[] |

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# SrmPlaceholderDatastoreManager_RemoveDatastore_Task

Removes datastore(s) from the list of placeholder datastores.

Required Privileges
  VcDr.PlaceholderDatastoreManager.com.vmware.vcDr.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmPlaceholderDatastoreManager used to make the method call.
datastore* P | vim.Datastore[] | Since SRM API 11.0

*Need not be set P Required privilege: datastore

Return Value

Type | Description
--- | ---
ManagedObjectReference to a SrmExtApiTask |

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None