# Managed Object - DatastoreNamespaceManager

Property of
  ServiceContent
See also
  Datacenter, Datastore
Since
  vSphere API 5.5

## Managed Object Description

Properties

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

Methods

Methods defined in this Managed Object
ConvertNamespacePathToUuidPath, CreateDirectory, DeleteDirectory

# ConvertNamespacePathToUuidPath

Required Privileges
  System.View
Since
  vSphere API 6.5

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call.
datacenter* P | ManagedObjectReference to a Datacenter | Since vSphere API 6.5
namespaceUrl P | xsd:string | Since vSphere API 6.5

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

Return Value

Type | Description
--- | ---
xsd:string |

Faults

Type | Description
--- | ---
InvalidDatastore |
InvalidDatastorePath |
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

# CreateDirectory

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call.
datastore P | ManagedObjectReference to a Datastore | Since vSphere API 5.5
displayName* P | xsd:string | Since vSphere API 5.5
policy* P | xsd:string | Since vSphere API 5.5
size* P | xsd:long | Since vSphere API 5.5

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

Return Value

Type | Description
--- | ---
xsd:string |

Faults

Type | Description
--- | ---
CannotCreateFile |
FileAlreadyExists |
InvalidDatastore |
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

# DeleteDirectory

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call.
datacenter* P | ManagedObjectReference to a Datacenter | Since vSphere API 5.5
datastorePath P | xsd:string | Since vSphere API 5.5

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

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
FileFault |
FileNotFound |
InvalidDatastore |
InvalidDatastorePath |
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