Datastore Namespace Manager Convert Namespace Path To Uuid Path
Convert the namespace path to the namespace UUID path.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case DatastoreNamespaceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"ConvertNamespacePathToUuidPathRequestType Object"
Namesapce URL of the form
[ds://]/vmfs/volumes/[datastore-uuid]/[directory-name]/...
the URL path with namespace object UUID, of the form
[ds://]/vmfs/volumes/[datastore-uuid]/[directory-uuid]/...
InvalidDatastore: if the given datastore is not supported by the DatastoreNamespaceManager
InvalidDatastorePath: if the given path is not a top-level directory
"InvalidDatastore Object"
The name of the datastore that is invalid.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DatastoreNamespaceManager/{moId}/ConvertNamespacePathToUuidPath