Search

Method createDirectory(VcDatastore datastore, String displayName, String policy)

Creates a top-level directory on the given datastore, using the given user display name hint and opaque storage policy.

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 VcDatastoreNamespaceManager

Returns

String

Arguments

Name Type Description
datastore VcDatastore datastore on which to create a top-level directory<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDatastoreNamespaceManager.html#DeleteDirectory">VcDatastoreNamespaceManager</a><br>
displayName String display name hint for the directory to create<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDatastoreNamespaceManager.html#DeleteDirectory">VcDatastoreNamespaceManager</a><br>
policy String opaque storage policy to associate with the directory<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDatastoreNamespaceManager.html#DeleteDirectory">VcDatastoreNamespaceManager</a><br>