| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
ConvertNamespacePathToUuidPath, CreateDirectory, DeleteDirectory |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call. |
datacenter* | ManagedObjectReference
to a Datacenter |
The datacenter of the namespace path. Needs to be set
when making the call to VC; ignored when the call is
made to ESX.
|
namespaceUrl | xsd:string |
Namesapce URL of the form
[ds://]/vmfs/volumes/[datastore-uuid]/[directory-name]/... |
Return Value
Type | Description |
---|---|
xsd:string | The URL path with namespace object UUID, of the form [ds://]/vmfs/volumes/[datastore-uuid]/[directory-uuid]/... |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the given datastore is not supported by the DatastoreNamespaceManager |
InvalidDatastorePath | Thrown if the given path is not a top-level directory |
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 |
The optional given display name hint may be used by the underlying storage system for user display purposes, but it may not be relied upon for future directory references.
Clients must use the returned stable path for future directory
references.
See DeleteDirectory
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call. |
datastore | ManagedObjectReference
to a Datastore |
datastore on which to create a top-level directory See DeleteDirectory |
displayName* | xsd:string |
display name hint for the directory to create See DeleteDirectory |
policy* | xsd:string |
opaque storage policy to associate with the directory See DeleteDirectory |
Return Value
Type | Description |
---|---|
xsd:string | A stable vmfs path which may be used for future reference of the created directory, of the form /vmfs/volumes/[datastore-uuid]/[directory-uuid] |
Faults
Type | Description |
---|---|
CannotCreateFile | Thrown if a general system error occurred while creating directory on the datastore See DeleteDirectory |
FileAlreadyExists | Thrown if the given directory already exists See DeleteDirectory |
InvalidDatastore | Thrown if the given datastore is not supported by the DatastoreNamespaceManage See DeleteDirectory |
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 |
The top-level directory must be a full path of the form
/vmfs/volumes/[datastore-uuid]/[directory-uuid]as returned by CreateDirectory.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the DatastoreNamespaceManager used to make the method call. |
datacenter* P | ManagedObjectReference
to a Datacenter |
The datacenter of the datastore path. Needs to be set
when making the call to VC; ignored when the call is
made to ESX. See CreateDirectory |
datastorePath | xsd:string |
Stable vmfs path of the directory to delete. See CreateDirectory |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
FileFault | Thrown if a generic system error happened. See CreateDirectory |
FileNotFound | Thrown if the given directory can not be found See CreateDirectory |
InvalidDatastore | Thrown if the given datastore is not supported by the DatastoreNamespaceManager See CreateDirectory |
InvalidDatastorePath | Thrown if the given path is not a top-level directory See CreateDirectory |
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 |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |