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

NameTypeDescription
_thisManagedObjectReference A reference to the DatastoreNamespaceManager used to make the method call.
datacenter* PManagedObjectReference
to a Datacenter

Since vSphere API 6.5
namespaceUrl Pxsd:string

Since vSphere API 6.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
xsd:string

Faults

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

NameTypeDescription
_thisManagedObjectReference A reference to the DatastoreNamespaceManager used to make the method call.
datastore PManagedObjectReference
to a Datastore

Since vSphere API 5.5
displayName* Pxsd:string

Since vSphere API 5.5
policy* Pxsd:string

Since vSphere API 5.5
size* Pxsd:long

Since vSphere API 5.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
xsd:string

Faults

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

NameTypeDescription
_thisManagedObjectReference A reference to the DatastoreNamespaceManager used to make the method call.
datacenter* PManagedObjectReference
to a Datacenter

Since vSphere API 5.5
datastorePath Pxsd:string

Since vSphere API 5.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
FileFault
FileNotFound
InvalidDatastore
InvalidDatastorePath
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None